Skip to content

Commit dde9531

Browse files
authored
Merge pull request #509 from cwrau/fix/node-agent-security-context
fix(velero): remove useless `nodeAgent.privileged`
2 parents b4ced58 + f440ce2 commit dde9531

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

charts/velero/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: 1.13.0
33
kubeVersion: ">=1.16.0-0"
44
description: A Helm chart for velero
55
name: velero
6-
version: 5.4.1
6+
version: 6.0.0
77
home: https://github.com/vmware-tanzu/velero
88
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
99
sources:

charts/velero/README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,13 @@ If a value needs to be added or changed, you may do so with the `upgrade` comman
8787
```bash
8888
helm upgrade vmware-tanzu/velero <RELEASE NAME> --reuse-values --set configuration.backupStorageLocation[0].provider=<NEW PROVIDER>
8989
```
90+
## Upgrading Chart
9091

91-
## Upgrading
92+
### Upgrading to 6.0.0
93+
94+
This version removes the `nodeAgent.privileged` field, you should use `nodeAgent.containerSecurityContext.privileged` instead
95+
96+
## Upgrading Velero
9297

9398
### Upgrading to v1.13
9499

charts/velero/templates/node-agent-daemonset.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ spec:
175175
lifecycle: {{ toYaml .Values.nodeAgent.lifecycle | nindent 12 }}
176176
{{- end }}
177177
securityContext:
178-
privileged: {{ .Values.nodeAgent.privileged }}
179178
{{- with $containerSecurityContext }}
180179
{{- toYaml . | nindent 12 }}
181180
{{- end }}

charts/velero/values.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,6 @@ deployNodeAgent: false
518518

519519
nodeAgent:
520520
podVolumePath: /var/lib/kubelet/pods
521-
privileged: false
522521
# Pod priority class name to use for the node-agent daemonset. Optional.
523522
priorityClassName: ""
524523
# Resource requests/limits to specify for the node-agent daemonset deployment. Optional.

0 commit comments

Comments
 (0)