summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates
diff options
context:
space:
mode:
authorAlexander Dehn <alexander.dehn@highstreet-technologies.com>2020-09-02 09:01:15 +0000
committerAlexander Dehn <alexander.dehn@highstreet-technologies.com>2020-09-02 09:02:15 +0000
commit1373c9ce6557c6de1c198da72bd76f8c694bb38d (patch)
tree3a659e62f67c641d73563047bfdf11cb49d0c0b7 /kubernetes/sdnc/templates
parentd56af0efca443e5aa285c4d493db4160c96fd0fb (diff)
[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>
Diffstat (limited to 'kubernetes/sdnc/templates')
-rwxr-xr-xkubernetes/sdnc/templates/sdnrdb-init-job.yaml2
-rw-r--r--kubernetes/sdnc/templates/statefulset.yaml2
2 files changed, 2 insertions, 2 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 }}
diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml
index 3aab082330..e5956c644e 100644
--- a/kubernetes/sdnc/templates/statefulset.yaml
+++ b/kubernetes/sdnc/templates/statefulset.yaml
@@ -95,7 +95,7 @@ spec:
{{ 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: