From 4516ec6ee2d6f005da873fc37ebd09f88a75c4e9 Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Fri, 8 Jul 2022 17:36:33 +0530 Subject: [PATCH] helm: add missing port for webhook in helm adding port which was missing from helm rook-ceph chart which is used by webhook due to which it was failing with ``` failed to run operator: gave up to run the operator manager: failed to run the controller-runtime manager: listen tcp :9443: bind: address already in use ``` Signed-off-by: subhamkrai (cherry picked from commit 94f0c0dc25485ef68a636da51335177d9317d396) --- 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 922aa5c14..fa942c199 100644 --- a/deploy/charts/rook-ceph/templates/deployment.yaml +++ b/deploy/charts/rook-ceph/templates/deployment.yaml @@ -42,6 +42,10 @@ spec: name: default-config-dir - mountPath: /etc/webhook name: webhook-cert + ports: + - containerPort: 9443 + name: https-webhook + protocol: TCP env: - name: ROOK_CURRENT_NAMESPACE_ONLY value: {{ .Values.currentNamespaceOnly | quote }}