diff --git a/charts/cbcontainers-operator/cbcontainers-operator-chart/templates/deployment.yaml b/charts/cbcontainers-operator/cbcontainers-operator-chart/templates/deployment.yaml
index ee01e082..599c697b 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: "{{ print .Values.imagesRegistry "/" | default "" }}{{ .Values.rbacProxy.image.repository }}:{{.Values.rbacProxy.image.version }}"
+        image: "{{- if .Values.imagesRegistry }}{{ .Values.imagesRegistry }}/{{- end }}{{ .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: "{{ print .Values.imagesRegistry "/" | default "" }}{{ .Values.operator.image.repository | default "cbartifactory/octarine-operator" }}:{{ .Values.operator.image.version | default .Chart.AppVersion }}"
+        image: "{{- if .Values.imagesRegistry }}{{ .Values.imagesRegistry }}/{{- end }}{{ .Values.operator.image.repository | default "cbartifactory/octarine-operator" }}:{{ .Values.operator.image.version | default .Chart.AppVersion }}"
         env:
         - name: OPERATOR_NAMESPACE
           valueFrom: