[COMMON] Make imagePullSecrets configurable
[oom.git] / kubernetes / cds / components / cds-ui / templates / deployment.yaml
index 6887e67..ed5876b 100644 (file)
@@ -41,6 +41,8 @@ spec:
           env:
             - name: HOST
               value: 0.0.0.0
+            - name: PROTOCOL
+              value: "{{ .Values.config.env.protocol }}"
             - name: APP_ACTION_DEPLOY_BLUEPRINT_GRPC_ENABLED
               value: "{{ .Values.config.app.action.deployBlueprint.grpcEnabled }}"
             - name: API_BLUEPRINT_CONTROLLER_HTTP_BASE_URL
@@ -80,5 +82,4 @@ spec:
         - name: localtime
           hostPath:
             path: /etc/localtime
-      imagePullSecrets:
-      - name: "{{ include "common.namespace" . }}-docker-registry-key"
+      {{- include "common.imagePullSecrets" . | nindent 6 }}