Skip to content

Instantly share code, notes, and snippets.

@velotiotech
Created July 28, 2020 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velotiotech/b63c6cf34d7327d0a2a39cd4cb11e152 to your computer and use it in GitHub Desktop.
Save velotiotech/b63c6cf34d7327d0a2a39cd4cb11e152 to your computer and use it in GitHub Desktop.
spec:
initContainers:
image: <webhook init-image name>
imagePullPolicy: IfNotPresent
name: webhook-init
volumeMounts:
- mountPath: /etc/webhook/certs
name: webhook-certs
containers:
image: <webhook server image name>
imagePullPolicy: IfNotPresent
name: webhook-server
volumeMounts:
- mountPath: /etc/webhook/certs
name: webhook-certs
readOnly: true
volumes:
- name: webhook-certs
emptyDir: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment