kubeservice-cosign-webhook

by kubeservice-stack

Helm chartv1.1.1App v1.1.0Verified publisher

Kubernetes admission webhook that uses cosign tools Container Sign Verify.

About this chart

Kubeservice Cosign WebHook

Kubeservice Cosign WebHook is a Kubernetes admission webhook that uses cosign tools Container Sign Verify.

This chart creates a Kubeservice Cosign WebHook deployment on a Kubernetes cluster using the Helm package manager.

Source Code

Requirements

Kubernetes 1.16+ with Beta APIs enabled

Add Helm repository

helm repo add kubeservice-stack https://kubeservice-stack.github.io/kubservice-charts
helm repo update

See helm repo for command documentation.

Install Chart

helm install [RELEASE_NAME] kubeservice-cosign-webhook

See configuration below.

See helm install for command documentation.

Uninstall Chart

helm uninstall [RELEASE_NAME]

This removes all the Kubernetes components associated with the chart and deletes the release.

See helm uninstall for command documentation.

Upgrading Chart

helm upgrade [RELEASE_NAME] [CHART] --install

See helm upgrade for command documentation.

Configuration

See Customizing the Chart Before Installing. To see all configurable options with detailed comments, visit the chart's values.yaml, or run these configuration commands:

# Helm 2
$ helm inspect values kubeservice-cosign-webhook

# Helm 3
$ helm show values kubeservice-cosign-webhook

See kubeservice-stack/cosign-webhook/README.md for further information.

Values

KeyTypeDefaultDescription
affinityobject{}Affinity to add to the controller Pods
image.repositorystring"docker.io/dongjiang1989/cosign-webhook:latest"cosign webhook image
imagePullSecretslist[]Reference to one or more secrets to be used when pulling images https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ For example: [ {"name":"image-pull-secret"} ]
podAnnotationsobject{}Additional annotations to add to the controller Pods
pullPolicystring"IfNotPresent"The image pull policy.
replicasint1Number of replicas for the controller
resourcesobject{"limits":{"cpu":"500m","memory":"300Mi"},"requests":{"cpu":"300m","memory":"200Mi"}}Expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#resourcerequirements-v1-core
service.portint8443Expose port for WebHook controller
service.typestring"ClusterIP"Service type to use

Autogenerated from chart metadata using helm-docs v1.4.0

Deploy kubeservice-cosign-webhook with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubeservice-cosign-webhook on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkubeservice-cosign-webhook is pinned at v1.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply