mirror of https://git.rancher.io/charts
(dev-v2.6-archive) Fix image registry for gatekeeper
(partially cherry picked from commit 8f3bf8d6fa
)
pull/1680/head
parent
e6247efd1d
commit
0070a19a81
|
@ -0,0 +1,11 @@
|
|||
--- charts-original/templates/namespace-post-install.yaml
|
||||
+++ charts/templates/namespace-post-install.yaml
|
||||
@@ -30,7 +30,7 @@
|
||||
kubernetes.io/os: linux
|
||||
containers:
|
||||
- name: kubectl-label
|
||||
- image: "{{ .Values.postInstall.labelNamespace.image.repository }}:{{ .Values.postInstall.labelNamespace.image.tag }}"
|
||||
+ image: '{{ template "system_default_registry" . }}{{ .Values.postInstall.labelNamespace.image.repository }}:{{ .Values.postInstall.labelNamespace.image.tag }}'
|
||||
imagePullPolicy: {{ .Values.postInstall.labelNamespace.image.pullPolicy }}
|
||||
command:
|
||||
- kubectl
|
Loading…
Reference in New Issue