From c1214e380eac4cd74721bb8775e65562c8e843ba Mon Sep 17 00:00:00 2001 From: Tomer Shefler Date: Thu, 21 Dec 2023 15:04:57 +0100 Subject: [PATCH] Add slash between registry and image name in operator deployment.yaml installed by helm --- .../cbcontainers-operator-chart/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/cbcontainers-operator/cbcontainers-operator-chart/templates/deployment.yaml b/charts/cbcontainers-operator/cbcontainers-operator-chart/templates/deployment.yaml index 5220c5a3..ee01e082 100644 --- a/charts/cbcontainers-operator/cbcontainers-operator-chart/templates/deployment.yaml +++ b/charts/cbcontainers-operator/cbcontainers-operator-chart/templates/deployment.yaml @@ -39,7 +39,7 @@ spec: - --logtostderr=true - --http2-disable - --v=0 - image: "{{ .Values.imagesRegistry | default "" }}{{ .Values.rbacProxy.image.repository }}:{{.Values.rbacProxy.image.version }}" + image: "{{ print .Values.imagesRegistry "/" | default "" }}{{ .Values.rbacProxy.image.repository }}:{{.Values.rbacProxy.image.version }}" name: kube-rbac-proxy ports: - containerPort: 8443 @@ -61,7 +61,7 @@ spec: - --leader-elect command: - /manager - image: "{{ .Values.imagesRegistry | default "" }}{{ .Values.operator.image.repository | default "cbartifactory/octarine-operator" }}:{{ .Values.operator.image.version | default .Chart.AppVersion }}" + image: "{{ print .Values.imagesRegistry "/" | default "" }}{{ .Values.operator.image.repository | default "cbartifactory/octarine-operator" }}:{{ .Values.operator.image.version | default .Chart.AppVersion }}" env: - name: OPERATOR_NAMESPACE valueFrom: