mirror of https://git.rancher.io/charts
The template namespace post upgrade yaml fails when using system default registry (#3958)
parent
ba58a40e37
commit
cf257178fd
Binary file not shown.
|
@ -68,7 +68,7 @@ spec:
|
|||
{{- toYaml .Values.postInstall.securityContext | nindent 12 }}
|
||||
{{- if .Values.postInstall.labelNamespace.extraNamespaces }}
|
||||
- name: kubectl-label-extra
|
||||
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 }}
|
||||
args:
|
||||
- label
|
||||
|
|
|
@ -60,7 +60,7 @@ spec:
|
|||
{{- toYaml .Values.postUpgrade.securityContext | nindent 12 }}
|
||||
{{- if .Values.postUpgrade.labelNamespace.extraNamespaces }}
|
||||
- name: kubectl-label-extra
|
||||
image: "{{ .Values.postUpgrade.labelNamespace.image.repository }}:{{ .Values.postUpgrade.labelNamespace.image.tag }}"
|
||||
image: '{{ template "system_default_registry" . }}{{ .Values.postUpgrade.labelNamespace.image.repository }}:{{ .Values.postUpgrade.labelNamespace.image.tag }}'
|
||||
imagePullPolicy: {{ .Values.postUpgrade.labelNamespace.image.pullPolicy }}
|
||||
args:
|
||||
- label
|
||||
|
|
|
@ -11362,10 +11362,10 @@ entries:
|
|||
catalog.cattle.io/ui-component: gatekeeper
|
||||
apiVersion: v2
|
||||
appVersion: v3.13.0
|
||||
created: "2024-01-02T15:46:18.054135-03:00"
|
||||
created: "2024-05-23T17:37:52.929085-03:00"
|
||||
description: Modifies Open Policy Agent's upstream gatekeeper chart that provides
|
||||
policy-based control for cloud native environments
|
||||
digest: 03ac83c2dbba8b3d6ebad07d28f1723021324ea3b71033ba3f5296d1070575ee
|
||||
digest: e1bf0078a7601c0c4d7bdbdeaf5d79ccbf7ef8e13177e093c406839bb6ef3856
|
||||
home: https://github.com/open-policy-agent/gatekeeper
|
||||
icon: https://charts.rancher.io/assets/logos/gatekeeper.svg
|
||||
keywords:
|
||||
|
|
|
@ -5,6 +5,15 @@
|
|||
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 }}
|
||||
args:
|
||||
- label
|
||||
@@ -68,7 +68,7 @@
|
||||
{{- toYaml .Values.postInstall.securityContext | nindent 12 }}
|
||||
{{- if .Values.postInstall.labelNamespace.extraNamespaces }}
|
||||
- name: kubectl-label-extra
|
||||
- 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 }}
|
||||
args:
|
||||
|
|
|
@ -5,6 +5,15 @@
|
|||
containers:
|
||||
- name: kubectl-label
|
||||
- image: "{{ .Values.postUpgrade.labelNamespace.image.repository }}:{{ .Values.postUpgrade.labelNamespace.image.tag }}"
|
||||
+ image: '{{ template "system_default_registry" . }}{{ .Values.postUpgrade.labelNamespace.image.repository }}:{{ .Values.postUpgrade.labelNamespace.image.tag }}'
|
||||
imagePullPolicy: {{ .Values.postUpgrade.labelNamespace.image.pullPolicy }}
|
||||
args:
|
||||
- label
|
||||
@@ -60,7 +60,7 @@
|
||||
{{- toYaml .Values.postUpgrade.securityContext | nindent 12 }}
|
||||
{{- if .Values.postUpgrade.labelNamespace.extraNamespaces }}
|
||||
- name: kubectl-label-extra
|
||||
- image: "{{ .Values.postUpgrade.labelNamespace.image.repository }}:{{ .Values.postUpgrade.labelNamespace.image.tag }}"
|
||||
+ image: '{{ template "system_default_registry" . }}{{ .Values.postUpgrade.labelNamespace.image.repository }}:{{ .Values.postUpgrade.labelNamespace.image.tag }}'
|
||||
imagePullPolicy: {{ .Values.postUpgrade.labelNamespace.image.pullPolicy }}
|
||||
args:
|
||||
|
|
Loading…
Reference in New Issue