aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/job.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/policy/templates/job.yaml')
-rw-r--r--kubernetes/policy/templates/job.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/kubernetes/policy/templates/job.yaml b/kubernetes/policy/templates/job.yaml
index 9ed09e82d7..81904143fa 100644
--- a/kubernetes/policy/templates/job.yaml
+++ b/kubernetes/policy/templates/job.yaml
@@ -15,17 +15,17 @@
apiVersion: batch/v1
kind: Job
metadata:
- name: {{ .Release.Name }}-galera-config
+ name: {{ include "common.release" . }}-galera-config
namespace: {{ include "common.namespace" . }}
labels:
app: {{ include "common.name" . }}-job
- release: {{ .Release.Name }}
+ release: {{ include "common.release" . }}
spec:
template:
metadata:
labels:
app: {{ include "common.name" . }}-job
- release: {{ .Release.Name }}
+ release: {{ include "common.release" . }}
spec:
initContainers:
#This container checks that all galera instances are up before initializing it.
@@ -43,7 +43,7 @@ spec:
apiVersion: v1
fieldPath: metadata.namespace
containers:
- - name: {{ .Release.Name }}-galera-config
+ - name: {{ include "common.release" . }}-galera-config
image: {{ .Values.mariadb_image }}
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
volumeMounts: