Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ spec:
volumes:
- configMap
- downwardAPI
- hostPath
- emptyDir
- persistentVolumeClaim
- projected
Expand Down
8 changes: 8 additions & 0 deletions helmfile.d/values/networkpolicies/common/velero.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,11 @@ policies:
egress:
- rule: egress-rule-dns
- rule: egress-rule-apiserver

velero-data-mover:
podSelectorLabels:
velero.io/exposer-pod-group: snapshot-exposer
egress:
- rule: egress-rule-dns
- rule: egress-rule-apiserver
- rule: egress-rule-object-storage
31 changes: 29 additions & 2 deletions helmfile.d/values/podsecuritypolicies/common/velero.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ constraints:
- emptyDir
- projected
- secret
- configMap
allowedHostPaths:
- pathPrefix: /var/lib/kubelet/pods
readOnly: false
Expand All @@ -25,16 +26,42 @@ constraints:
allow:
runAsUser:
rule: MustRunAsNonRoot
volumes:
- hostPath
- emptyDir
- projected
- secret
- persistentVolumeClaim
- configMap
- downwardAPI
allowedHostPaths:
- pathPrefix: /var/lib/kubelet/pods
readOnly: false
- pathPrefix: /var/lib/kubelet/plugins
readOnly: false
mutation:
runAsUser: 1000
runAsUser: 1002
data-upload:
podSelectorLabels:
velero.io/exposer-pod-group: snapshot-exposer
allow:
runAsUser:
rule: MustRunAsNonRoot
volumes:
- hostPath
- emptyDir
- projected
- secret
- persistentVolumeClaim
- configMap
- downwardAPI
allowedHostPaths:
- pathPrefix: /var/lib/kubelet/pods
readOnly: false
- pathPrefix: /var/lib/kubelet/plugins
readOnly: false
mutation:
runAsUser: 1000
runAsUser: 1002
repo-maintenance:
podSelectorExpressions:
- key: velero.io/repo-name
Expand Down
1 change: 1 addition & 0 deletions helmfile.d/values/velero/sc.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ schedules:
template:
storageLocation: default
snapshotMoveData: {{ .Values.velero.useVolumeSnapshots }}
snapshotVolumes: {{ .Values.velero.useVolumeSnapshots }}
labelSelector:
matchLabels:
velero: backup
Expand Down
1 change: 1 addition & 0 deletions helmfile.d/values/velero/wc.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ schedules:
template:
storageLocation: default
snapshotMoveData: {{ .Values.velero.useVolumeSnapshots }}
snapshotVolumes: {{ .Values.velero.useVolumeSnapshots }}
excludedNamespaces:
{{- with .Values.velero.excludedNamespaces }}
{{- toYaml . | nindent 8 }}
Expand Down