diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index e2298bd0..a24b53b0 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 1.2.0 description: A Helm chart for velero name: velero -version: 2.8.8 +version: 2.8.9 home: https://github.com/vmware-tanzu/velero icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png sources: diff --git a/charts/velero/templates/restic-daemonset.yaml b/charts/velero/templates/restic-daemonset.yaml index a0a3ff2a..31af61fa 100644 --- a/charts/velero/templates/restic-daemonset.yaml +++ b/charts/velero/templates/restic-daemonset.yaml @@ -92,22 +92,16 @@ spec: fieldPath: spec.nodeName - name: VELERO_SCRATCH_DIR value: /scratch - {{- if and .Values.credentials.useSecret (or (eq $provider "aws") (eq $provider "gcp") (eq $provider "alibabacloud")) }} + {{- if and .Values.credentials.useSecret (or (eq $provider "aws") (eq $provider "gcp") (eq $provider "alibabacloud")) }} {{- if eq $provider "aws" }} - name: AWS_SHARED_CREDENTIALS_FILE - value: /credentials/cloud {{- else if eq $provider "gcp" }} - name: GOOGLE_APPLICATION_CREDENTIALS - value: /credentials/cloud {{- else }} - name: ALIBABA_CLOUD_CREDENTIALS_FILE - value: /credentials/cloud {{- end }} - {{- end }} - {{- if eq $provider "minio" }} - - name: AWS_SHARED_CREDENTIALS_FILE value: /credentials/cloud - {{- end }} + {{- end }} securityContext: privileged: {{ .Values.restic.privileged }} {{- with .Values.restic.resources }}