summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
diff options
context:
space:
mode:
authorMarat Salakhutdinov <marat.salakhutdinov@bell.ca>2020-10-23 21:22:30 -0400
committerMarat Salakhutdinov <marat.salakhutdinov@bell.ca>2020-10-23 21:22:30 -0400
commit239a9264ddecd1485f80f0c0df9c363c0cffb9e0 (patch)
treeef4e2cdccf4f74872a873d6d5368f75135b9e03c /kubernetes/common
parent951290ba262db65ac7f6cdfb659987cb394916ee (diff)
[COMMON] Fix URL override for cassandra backup cronjob
It is not possible to override Cassandra backup cronjob image URL currently. This might cause the problem if non standard repository is used. This patch is fixing that issue. Issue-ID: OOM-2608 Signed-off-by: Marat Salakhutdinov <marat.salakhutdinov@bell.ca> Change-Id: I1eb0a97d1a852d16f8d1662f543c3f583e873a5d
Diffstat (limited to 'kubernetes/common')
-rw-r--r--kubernetes/common/cassandra/templates/backup/cronjob.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/cassandra/templates/backup/cronjob.yaml b/kubernetes/common/cassandra/templates/backup/cronjob.yaml
index cabe59f696..b242de2b6b 100644
--- a/kubernetes/common/cassandra/templates/backup/cronjob.yaml
+++ b/kubernetes/common/cassandra/templates/backup/cronjob.yaml
@@ -149,7 +149,7 @@ spec:
subPath: exec.py
containers:
- name: cassandra-backup-validate
- image: "{{ .Values.image }}"
+ image: "{{ include "common.repository" . }}/{{ .Values.image }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
command:
- /bin/bash