mirror of https://git.rancher.io/charts
Fix image registry for gatekeeper
parent
4ad408e0ca
commit
8f3bf8d6fa
|
@ -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