Skip to content

Commit 574c91f

Browse files
committed
Fix DaemonSet security context
1 parent 4ef44c3 commit 574c91f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

deployment/helm/balloons/templates/daemonset.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ spec:
2222
{{ $name }}: "{{ $value }}"
2323
{{- end }}
2424
spec:
25+
hostPID: true
2526
{{- with .Values.tolerations }}
2627
tolerations:
2728
{{- toYaml . | nindent 8 }}
@@ -99,7 +100,9 @@ spec:
99100
image: {{ .Values.image.name }}:{{ .Values.image.tag | default .Chart.AppVersion }}
100101
imagePullPolicy: {{ .Values.image.pullPolicy }}
101102
securityContext:
102-
allowPrivilegeEscalation: false
103+
privileged: true
104+
allowPrivilegeEscalation: true
105+
runAsUser: 0
103106
capabilities:
104107
drop:
105108
- ALL

0 commit comments

Comments
 (0)