mirror of https://git.rancher.io/charts
Use rancher/shell
parent
47aa362f87
commit
75481c6cec
|
@ -17,8 +17,8 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ .Chart.Name }}-manager
|
serviceAccountName: {{ .Chart.Name }}-manager
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: false
|
||||||
runAsUser: 1000
|
runAsUser: 0
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: set-preserve-unknown-fields-false
|
- name: set-preserve-unknown-fields-false
|
||||||
image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}
|
image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}
|
||||||
|
@ -93,8 +93,8 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: {{ .Chart.Name }}-manager
|
serviceAccountName: {{ .Chart.Name }}-manager
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: false
|
||||||
runAsUser: 1000
|
runAsUser: 0
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: remove-finalizers
|
- name: remove-finalizers
|
||||||
image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}
|
image: {{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}
|
||||||
|
|
|
@ -53,7 +53,7 @@ spec:
|
||||||
hostIPC: false
|
hostIPC: false
|
||||||
hostPID: false
|
hostPID: false
|
||||||
runAsUser:
|
runAsUser:
|
||||||
rule: 'MustRunAsNonRoot'
|
rule: 'RunAsAny'
|
||||||
seLinux:
|
seLinux:
|
||||||
rule: 'RunAsAny'
|
rule: 'RunAsAny'
|
||||||
supplementalGroups:
|
supplementalGroups:
|
||||||
|
|
|
@ -7,5 +7,5 @@ global:
|
||||||
systemDefaultRegistry: ""
|
systemDefaultRegistry: ""
|
||||||
|
|
||||||
image:
|
image:
|
||||||
repository: rancher/rancher-agent
|
repository: rancher/shell
|
||||||
tag: v2.5.7
|
tag: v0.1.8
|
||||||
|
|
Loading…
Reference in New Issue