aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/sdnrdb-init-job.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-09-03 14:55:27 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-03 14:55:27 +0000
commit8bdf47ac952a77de2b9b7501028eea4376be2dda (patch)
tree97c1394608f0eeea719189aa4bea1748bec3f5c9 /kubernetes/sdnc/templates/sdnrdb-init-job.yaml
parent23e0d7989ce7a9dad916742f36deddb9160cd394 (diff)
parent1373c9ce6557c6de1c198da72bd76f8c694bb38d (diff)
Merge "[SDNC] Remove hard-coded busybox image"
Diffstat (limited to 'kubernetes/sdnc/templates/sdnrdb-init-job.yaml')
-rwxr-xr-xkubernetes/sdnc/templates/sdnrdb-init-job.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/sdnc/templates/sdnrdb-init-job.yaml b/kubernetes/sdnc/templates/sdnrdb-init-job.yaml
index 190d26b9b6..d5d6383c25 100755
--- a/kubernetes/sdnc/templates/sdnrdb-init-job.yaml
+++ b/kubernetes/sdnc/templates/sdnrdb-init-job.yaml
@@ -24,7 +24,7 @@ spec:
{{ include "common.certInitializer.initContainer" . | indent 6 }}
{{ if .Values.global.aafEnabled }}
- name: {{ include "common.name" . }}-chown
- image: "busybox"
+ image: {{ .Values.global.busyboxRepository | default .Values.busyboxRepository }}/{{ .Values.global.busyboxImage | default .Values.busyboxImage }}
command: ["sh", "-c", "chown -R {{ .Values.config.odlUid }}:{{ .Values.config.odlGid}} {{ .Values.certInitializer.credsPath }}"]
volumeMounts: {{ include "common.certInitializer.volumeMount" . | nindent 10 }}
{{ end }}