From fbe102d5efd60f222a10b790c42083c9abfca522 Mon Sep 17 00:00:00 2001 From: Omar Pakker Date: Wed, 8 Dec 2021 18:53:09 +0100 Subject: [PATCH] helm: rook-ceph chart: Set up webhook cert volume The 1.8 (beta) relies on a volume when using the admission controller, which is missing from the Helm chart. This change sets up the volume so the operators starts properly when set up to run the admission controller. Closes: https://github.com/rook/rook/issues/9349 Signed-off-by: Omar Pakker (cherry picked from commit 584107754962aafee8c1b96981e785523d51a1f4) --- deploy/charts/rook-ceph/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy/charts/rook-ceph/templates/deployment.yaml b/deploy/charts/rook-ceph/templates/deployment.yaml index 98f042700..ae639f883 100644 --- a/deploy/charts/rook-ceph/templates/deployment.yaml +++ b/deploy/charts/rook-ceph/templates/deployment.yaml @@ -35,6 +35,8 @@ spec: name: rook-config - mountPath: /etc/ceph name: default-config-dir + - mountPath: /etc/webhook + name: webhook-cert env: - name: ROOK_CURRENT_NAMESPACE_ONLY value: {{ .Values.currentNamespaceOnly | quote }} @@ -306,3 +308,5 @@ spec: emptyDir: {} - name: default-config-dir emptyDir: {} + - name: webhook-cert + emptyDir: {}