Skip to content

Commit

Permalink
added mounts for webhook too
Browse files Browse the repository at this point in the history
Signed-off-by: Blake Devcich <[email protected]>
  • Loading branch information
bdevcich committed Jan 8, 2025
1 parent 89344a0 commit 4c74b57
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config/manager/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ spec:
- mountPath: /tmp/k8s-webhook-server/serving-certs
name: cert
readOnly: true
- name: localtime
mountPath: /etc/localtime
readOnly: true
- name: tzdata
mountPath: /usr/share/zoneinfo
readOnly: true
env:
- name: POD_NAMESPACE
valueFrom:
Expand All @@ -70,5 +76,11 @@ spec:
secret:
defaultMode: 420
secretName: webhook-server-cert
- name: localtime
hostPath:
path: /etc/localtime
- name: tzdata
hostPath:
path: /usr/share/zoneinfo
serviceAccountName: webhook
terminationGracePeriodSeconds: 10

0 comments on commit 4c74b57

Please sign in to comment.