File tree Expand file tree Collapse file tree 4 files changed +20
-1
lines changed
Expand file tree Collapse file tree 4 files changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v1
22appVersion : 1.2.0
33description : A Helm chart for velero
44name : velero
5- version : 2.8.9
5+ version : 2.8.10
66home : https://github.com/vmware-tanzu/velero
77icon : https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
88sources :
Original file line number Diff line number Diff line change @@ -135,6 +135,10 @@ spec:
135135 {{- if .Values.extraVolumes }}
136136 {{- toYaml .Values.extraVolumes | nindent 8 }}
137137 {{- end }}
138+ {{- with .Values.securityContext }}
139+ securityContext :
140+ {{- toYaml . | nindent 8 }}
141+ {{- end }}
138142 {{- with .Values.nodeSelector }}
139143 nodeSelector :
140144 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -104,6 +104,9 @@ spec:
104104 {{- end }}
105105 securityContext :
106106 privileged : {{ .Values.restic.privileged }}
107+ {{- with .Values.restic.securityContext }}
108+ {{- toYaml . | nindent 12 }}
109+ {{- end }}
107110 {{- with .Values.restic.resources }}
108111 resources :
109112 {{- toYaml . | nindent 12 }}
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ initContainers: []
2828 # - mountPath: /target
2929 # name: plugins
3030
31+ # SecurityContext to use for the Velero deployment. Optional.
32+ # Set fsGroup for `AWS IAM Roles for Service Accounts`
33+ # see more informations at: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
34+ securityContext : {}
35+ # fsGroup: 1337
36+
3137# Tolerations to use for the Velero deployment. Optional.
3238tolerations : []
3339
@@ -196,6 +202,12 @@ restic:
196202 # Extra volumeMounts for the Restic daemonset. Optional.
197203 extraVolumeMounts : []
198204
205+ # SecurityContext to use for the Velero deployment. Optional.
206+ # Set fsGroup for `AWS IAM Roles for Service Accounts`
207+ # see more informations at: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html
208+ securityContext : {}
209+ # fsGroup: 1337
210+
199211# Backup schedules to create.
200212# Eg:
201213# schedules:
You can’t perform that action at this time.
0 commit comments