summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/network-name-gen/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-19 17:20:58 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-27 14:16:05 +0000
commit415cdee6e3e5ef50efccabbd370b56eb07139914 (patch)
treebde98c275610a29694547a5738c9d356ff55fa70 /kubernetes/common/network-name-gen/templates/deployment.yaml
parenta6fa6b1fe4c8c9b8e2a3e29b364dc96804404a9c (diff)
[COMMON][NAMEGEN] Uses new tpls for repos / images
This commit makes network name gen template to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I9f638f1fe48d6cdb66cc53cc9bcedb67edb55017
Diffstat (limited to 'kubernetes/common/network-name-gen/templates/deployment.yaml')
-rw-r--r--kubernetes/common/network-name-gen/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/common/network-name-gen/templates/deployment.yaml b/kubernetes/common/network-name-gen/templates/deployment.yaml
index c97c0488ac..16d93c6ed3 100644
--- a/kubernetes/common/network-name-gen/templates/deployment.yaml
+++ b/kubernetes/common/network-name-gen/templates/deployment.yaml
@@ -53,7 +53,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
+ image: {{ include "repositoryGenerator.image.readiness" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
containers:
- name: {{ include "common.name" . }}
@@ -62,7 +62,7 @@ spec:
args:
- '-c'
- 'export POL_BASIC_AUTH=`echo -n $POL_BASIC_AUTH_USER:$POL_BASIC_AUTH_PASSWORD | base64`; /startService.sh'
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.repository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
env:
- name: SPRING_PROFILE