Add repository for cassandra image 87/106187/1
authorafenner <andrew.fenner@est.tech>
Fri, 17 Apr 2020 11:09:01 +0000 (12:09 +0100)
committerafenner <andrew.fenner@est.tech>
Fri, 17 Apr 2020 11:09:24 +0000 (12:09 +0100)
Change-Id: I287b830f86da0fe0adc440cf9e645f8d244aefe1
Issue-ID: OOM-2368
Signed-off-by: afenner <andrew.fenner@est.tech>
kubernetes/common/cassandra/templates/statefulset.yaml

index 16aa27f..96139ce 100644 (file)
@@ -28,7 +28,7 @@ spec:
       hostNetwork: {{ .Values.hostNetwork }}
       containers:
       - name: {{ include "common.name" . }}
-        image: {{ .Values.image }}
+        image: "{{ include "common.repository" . }}/{{ .Values.image }}"
         imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
         ports: {{ include "common.containerPorts" . | nindent 8  }}
         volumeMounts: