[A1Policy] Uses new tpls for repos / images
[oom.git] / kubernetes / a1policymanagement / templates / deployment.yaml
index 1a2866b..ce2e273 100644 (file)
@@ -29,7 +29,7 @@ spec:
     spec:
       initContainers:
       - name: {{ include "common.name" . }}-bootstrap-config
-        image: "{{ .Values.global.envsubstImage }}"
+        image: {{ include "repositoryGenerator.image.envsubst" . }}
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         command:
         - sh
@@ -71,7 +71,7 @@ spec:
         - mountPath: /config
           name: config
       - name: {{ include "common.name" . }}
-        image: {{ include "common.repository" . }}/{{ .Values.image }}
+        image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         ports: {{ include "common.containerPorts" . | nindent 10  }}
         readinessProbe: