File tree Expand file tree Collapse file tree 5 files changed +40
-2
lines changed
charts/gatekeeper/podsecuritypolicies/templates/default
podsecuritypolicies/common Expand file tree Collapse file tree 5 files changed +40
-2
lines changed Original file line number Diff line number Diff line change 2121 volumes :
2222 - configMap
2323 - downwardAPI
24+ - hostPath
2425 - emptyDir
2526 - persistentVolumeClaim
2627 - projected
Original file line number Diff line number Diff line change @@ -33,3 +33,11 @@ policies:
3333 egress:
3434 - rule: egress-rule-dns
3535 - rule: egress-rule-apiserver
36+
37+ velero-data-mover:
38+ podSelectorLabels:
39+ velero.io /exposer-pod-group: snapshot-exposer
40+ egress:
41+ - rule: egress-rule-dns
42+ - rule: egress-rule-apiserver
43+ - rule: egress-rule-object-storage
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ constraints:
99 - emptyDir
1010 - projected
1111 - secret
12+ - configMap
1213 allowedHostPaths:
1314 - pathPrefix: /var/lib/kubelet/pods
1415 readOnly: false
@@ -25,16 +26,42 @@ constraints:
2526 allow:
2627 runAsUser:
2728 rule: MustRunAsNonRoot
29+ volumes:
30+ - hostPath
31+ - emptyDir
32+ - projected
33+ - secret
34+ - persistentVolumeClaim
35+ - configMap
36+ - downwardAPI
37+ allowedHostPaths:
38+ - pathPrefix: /var/lib/kubelet/pods
39+ readOnly: false
40+ - pathPrefix: /var/lib/kubelet/plugins
41+ readOnly: false
2842 mutation:
29- runAsUser: 1000
43+ runAsUser: 1002
3044 data-upload:
3145 podSelectorLabels:
3246 velero.io /exposer-pod-group: snapshot-exposer
3347 allow:
3448 runAsUser:
3549 rule: MustRunAsNonRoot
50+ volumes:
51+ - hostPath
52+ - emptyDir
53+ - projected
54+ - secret
55+ - persistentVolumeClaim
56+ - configMap
57+ - downwardAPI
58+ allowedHostPaths:
59+ - pathPrefix: /var/lib/kubelet/pods
60+ readOnly: false
61+ - pathPrefix: /var/lib/kubelet/plugins
62+ readOnly: false
3663 mutation:
37- runAsUser: 1000
64+ runAsUser: 1002
3865 repo-maintenance:
3966 podSelectorExpressions:
4067 - key: velero.io /repo-name
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ schedules:
134134 template :
135135 storageLocation: default
136136 snapshotMoveData: {{ .Values.velero.useVolumeSnapshots }}
137+ snapshotVolumes: {{ .Values.velero.useVolumeSnapshots }}
137138 labelSelector:
138139 matchLabels:
139140 velero: backup
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ schedules:
134134 template :
135135 storageLocation: default
136136 snapshotMoveData: {{ .Values.velero.useVolumeSnapshots }}
137+ snapshotVolumes: {{ .Values.velero.useVolumeSnapshots }}
137138 excludedNamespaces:
138139 {{- with .Values.velero.excludedNamespaces }}
139140 {{- toYaml . | nindent 8 }}
You can’t perform that action at this time.
0 commit comments