[SDNC] Remove hard-coded busybox image
get image values from global busyboxRepository/busyboxImage
Issue-ID: OOM-2543
Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com>
Change-Id: I5f0ef76fb8072b45bd9ad10d8580484656049b76
Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com>
diff --git a/kubernetes/sdnc/templates/sdnrdb-init-job.yaml b/kubernetes/sdnc/templates/sdnrdb-init-job.yaml
index 190d26b..d5d6383 100755
--- a/kubernetes/sdnc/templates/sdnrdb-init-job.yaml
+++ b/kubernetes/sdnc/templates/sdnrdb-init-job.yaml
@@ -24,7 +24,7 @@
{{ 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 }}