[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/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml
index 3aab082..e5956c6 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -95,7 +95,7 @@
{{ include "common.certInitializer.initContainer" . | indent 6 }}
- name: {{ include "common.name" . }}-chown
- image: "busybox"
+ image: {{ .Values.global.busyboxRepository | default .Values.busyboxRepository }}/{{ .Values.global.busyboxImage | default .Values.busyboxImage }}
command:
- sh
args: