fix: remove privileged
from lifecycle jobs
Remove `privileged` requirement from lifecycle jobs `post-upgrade` and `uninstall`. Ref: 5862 Signed-off-by: James Lu <james.lu@suse.com>
This commit is contained in:
parent
e38d6aed78
commit
094b61b66c
@ -19,8 +19,6 @@ spec:
|
||||
- name: longhorn-post-upgrade
|
||||
image: {{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
securityContext:
|
||||
privileged: true
|
||||
command:
|
||||
- longhorn-manager
|
||||
- post-upgrade
|
||||
|
@ -19,8 +19,6 @@ spec:
|
||||
- name: longhorn-uninstall
|
||||
image: {{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
securityContext:
|
||||
privileged: true
|
||||
command:
|
||||
- longhorn-manager
|
||||
- uninstall
|
||||
|
Loading…
Reference in New Issue
Block a user