From aee7edc754b18b8379a545ef295ecec171471f92 Mon Sep 17 00:00:00 2001 From: Blake Devcich Date: Wed, 8 Jan 2025 15:24:04 -0600 Subject: [PATCH] added mounts for webhook too --- config/manager/webhook.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/manager/webhook.yaml b/config/manager/webhook.yaml index f1ebb87f..b672fa12 100644 --- a/config/manager/webhook.yaml +++ b/config/manager/webhook.yaml @@ -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: @@ -70,5 +76,11 @@ spec: secret: defaultMode: 420 secretName: webhook-server-cert + - name: localtime + mountPath: /etc/localtime + readOnly: true + - name: tzdata + mountPath: /usr/share/zoneinfo + readOnly: true serviceAccountName: webhook terminationGracePeriodSeconds: 10