From a92b91c8224fb04d222f7bd0192b66f76c8c2a25 Mon Sep 17 00:00:00 2001 From: Chris Werner Rau Date: Mon, 16 Oct 2023 12:01:32 +0200 Subject: [PATCH] fix(velero): remove useless `nodeAgent.privileged` this clashes with the field `nodeAgent.containerSecurityContext.privileged` --- charts/velero/templates/node-agent-daemonset.yaml | 1 - charts/velero/values.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/charts/velero/templates/node-agent-daemonset.yaml b/charts/velero/templates/node-agent-daemonset.yaml index f503b524..0e209e5d 100644 --- a/charts/velero/templates/node-agent-daemonset.yaml +++ b/charts/velero/templates/node-agent-daemonset.yaml @@ -172,7 +172,6 @@ spec: lifecycle: {{ toYaml .Values.nodeAgent.lifecycle | nindent 12 }} {{- end }} securityContext: - privileged: {{ .Values.nodeAgent.privileged }} {{- with $containerSecurityContext }} {{- toYaml . | nindent 12 }} {{- end }} diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index 65d986d0..b725a77a 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -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.