Skip to content

Commit e1ee510

Browse files
committed
Add fsGroup to pod security context
Required for AWS IAM Role bindings Signed-off-by: Stefan Prodan <[email protected]>
1 parent 0465b12 commit e1ee510

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/manager/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ spec:
2020
prometheus.io/port: "8080"
2121
spec:
2222
terminationGracePeriodSeconds: 10
23+
# Required for AWS IAM Role bindings
24+
# https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-technical-overview.html
25+
securityContext:
26+
fsGroup: 1337
2327
containers:
2428
- name: manager
2529
image: fluxcd/source-controller

0 commit comments

Comments
 (0)