Use rancher/shell

pull/1314/head
Arvind Iyengar 2021-06-28 14:46:16 -07:00
parent 47aa362f87
commit 75481c6cec
No known key found for this signature in database
GPG Key ID: A8DD9BFD6C811498
3 changed files with 7 additions and 7 deletions

View File

@ -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 }}

View File

@ -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:

View File

@ -7,5 +7,5 @@ global:
systemDefaultRegistry: "" systemDefaultRegistry: ""
image: image:
repository: rancher/rancher-agent repository: rancher/shell
tag: v2.5.7 tag: v0.1.8