aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaemod/components/dcaemod-nifi-registry/templates
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-21 22:19:29 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-11-21 22:19:29 +0100
commit99baf8e526d5a2019a7dadf82446e1303afc86e4 (patch)
treedcd7db60be63397cbad2d965cc813e0b305b0738 /kubernetes/dcaemod/components/dcaemod-nifi-registry/templates
parent2b2aa11021114438591d184af19fde6bbf06950a (diff)
[DCAEMOD] Uses new tpls for repos / images
This commit makes DCAE Mod chart to use the new generator for repositories and images. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I35a04b043e78b9247a466c2f9b0d4041147a1d7a
Diffstat (limited to 'kubernetes/dcaemod/components/dcaemod-nifi-registry/templates')
-rw-r--r--kubernetes/dcaemod/components/dcaemod-nifi-registry/templates/deployment.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/kubernetes/dcaemod/components/dcaemod-nifi-registry/templates/deployment.yaml b/kubernetes/dcaemod/components/dcaemod-nifi-registry/templates/deployment.yaml
index d601d92b41..90561ac231 100644
--- a/kubernetes/dcaemod/components/dcaemod-nifi-registry/templates/deployment.yaml
+++ b/kubernetes/dcaemod/components/dcaemod-nifi-registry/templates/deployment.yaml
@@ -32,7 +32,7 @@ spec:
# this initContainer changes ownership to uid 1000 gid 1000
# (tried using a securityContext in the pod spec, but it didn't seem to work)
- name: set-permissions
- image: busybox:latest
+ image: {{ include "repositoryGenerator.image.busybox" . }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- sh
@@ -43,7 +43,7 @@ spec:
name: flow-storage
containers:
- name: {{ include "common.name" . }}
- image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ image: {{ include "repositoryGenerator.dockerHubRepository" . }}/{{ .Values.image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
ports: {{ include "common.containerPorts" . | nindent 12 }}
{{- if eq .Values.liveness.enabled true }}