Eanble postupgrade and uninstall job security context privileged
Signed-off-by: JenTing Hsiao <jenting.hsiao@suse.com>
This commit is contained in:
parent
ff72f95d9c
commit
eb76703339
@ -19,6 +19,8 @@ spec:
|
||||
- name: longhorn-post-upgrade
|
||||
image: {{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: true
|
||||
command:
|
||||
- longhorn-manager
|
||||
- post-upgrade
|
||||
|
@ -19,6 +19,8 @@ spec:
|
||||
- name: longhorn-uninstall
|
||||
image: {{ template "registry_url" . }}{{ .Values.image.longhorn.manager.repository }}:{{ .Values.image.longhorn.manager.tag }}
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
privileged: true
|
||||
command:
|
||||
- longhorn-manager
|
||||
- uninstall
|
||||
|
Loading…
Reference in New Issue
Block a user