Add fsGroup to pod security context
Required for AWS IAM Role bindings Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
0465b122e5
commit
e1ee5104e3
|
@ -20,6 +20,10 @@ spec:
|
||||||
prometheus.io/port: "8080"
|
prometheus.io/port: "8080"
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 10
|
terminationGracePeriodSeconds: 10
|
||||||
|
# Required for AWS IAM Role bindings
|
||||||
|
# https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-technical-overview.html
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 1337
|
||||||
containers:
|
containers:
|
||||||
- name: manager
|
- name: manager
|
||||||
image: fluxcd/source-controller
|
image: fluxcd/source-controller
|
||||||
|
|
Loading…
Reference in New Issue