mirror of https://git.rancher.io/rke2-charts
20 lines
951 B
Diff
20 lines
951 B
Diff
--- charts-original/templates/_clustermesh-apiserver-generate-certs-job-spec.tpl
|
|
+++ charts/templates/_clustermesh-apiserver-generate-certs-job-spec.tpl
|
|
@@ -5,15 +5,12 @@
|
|
metadata:
|
|
labels:
|
|
k8s-app: clustermesh-apiserver-generate-certs
|
|
- {{- with .Values.clustermesh.apiserver.podLabels }}
|
|
- {{- toYaml . | nindent 8 }}
|
|
- {{- end }}
|
|
spec:
|
|
serviceAccount: {{ .Values.serviceAccounts.clustermeshcertgen.name | quote }}
|
|
serviceAccountName: {{ .Values.serviceAccounts.clustermeshcertgen.name | quote }}
|
|
containers:
|
|
- name: certgen
|
|
- image: {{ .Values.certgen.image.repository }}:{{ .Values.certgen.image.tag }}
|
|
+ image: {{ template "system_default_registry" . }}{{ .Values.certgen.image.repository }}:{{ .Values.certgen.image.tag }}
|
|
imagePullPolicy: {{ .Values.certgen.image.pullPolicy }}
|
|
command:
|
|
- "/usr/bin/cilium-certgen"
|