Skip to content

Commit

Permalink
fix(velero): remove useless nodeAgent.privileged
Browse files Browse the repository at this point in the history
this clashes with the field `nodeAgent.containerSecurityContext.privileged`
  • Loading branch information
cwrau committed Oct 16, 2023
1 parent 1e6a5b4 commit a92b91c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion charts/velero/templates/node-agent-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ spec:
lifecycle: {{ toYaml .Values.nodeAgent.lifecycle | nindent 12 }}
{{- end }}
securityContext:
privileged: {{ .Values.nodeAgent.privileged }}
{{- with $containerSecurityContext }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
1 change: 0 additions & 1 deletion charts/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ deployNodeAgent: false

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

0 comments on commit a92b91c

Please sign in to comment.