Skip to content

Commit

Permalink
Merge pull request #709 from mjura/charts-main
Browse files Browse the repository at this point in the history
Improve securityContext for operator Deployment
  • Loading branch information
mjura authored Jul 24, 2024
2 parents 02654c9 + 17617ad commit b03a6b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/eks-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ spec:
value: {{ .Values.httpsProxy }}
- name: NO_PROXY
value: {{ .Values.noProxy }}
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
privileged: false
capabilities:
drop:
- ALL
{{- if .Values.additionalTrustedCAs }}
# eks-operator mounts the additional CAs in two places:
volumeMounts:
Expand Down

0 comments on commit b03a6b1

Please sign in to comment.