diff --git a/chart/templates/postupgrade-job.yaml b/chart/templates/postupgrade-job.yaml index 43c2ccc..925146e 100644 --- a/chart/templates/postupgrade-job.yaml +++ b/chart/templates/postupgrade-job.yaml @@ -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 diff --git a/chart/templates/uninstall-job.yaml b/chart/templates/uninstall-job.yaml index fd14954..2ab43a5 100644 --- a/chart/templates/uninstall-job.yaml +++ b/chart/templates/uninstall-job.yaml @@ -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