Skip to content

Commit

Permalink
chore(psql): add securityContext to run as nonRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
fty4 committed Jul 20, 2023
1 parent 719eb1a commit 2277098
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions charts/umbrella/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,14 @@ edcconsumer:
username: psql-consumer-user
password: psql-consumer-password

primary:
podSecurityContext:
enabled: true
runAsNonRoot: true
runAsGroup: 65534 # nogroup

Check failure on line 176 in charts/umbrella/values.yaml

View workflow job for this annotation

GitHub Actions / lint-charts

176:27 [comments] too few spaces before comment
runAsUser: 1001
fsGroup: 65534 # nogroup

Check failure on line 178 in charts/umbrella/values.yaml

View workflow job for this annotation

GitHub Actions / lint-charts

178:24 [comments] too few spaces before comment

vault:
hashicorp:
token: *edcVaultToken
Expand Down Expand Up @@ -228,6 +236,14 @@ edcprovider:
username: psql-provider-user
password: psql-provider-password

primary:
podSecurityContext:
enabled: true
runAsNonRoot: true
runAsGroup: 65534 # nogroup

Check failure on line 243 in charts/umbrella/values.yaml

View workflow job for this annotation

GitHub Actions / lint-charts

243:27 [comments] too few spaces before comment
runAsUser: 1001
fsGroup: 65534 # nogroup

Check failure on line 245 in charts/umbrella/values.yaml

View workflow job for this annotation

GitHub Actions / lint-charts

245:24 [comments] too few spaces before comment

vault:
hashicorp:
token: *edcVaultToken
Expand Down

0 comments on commit 2277098

Please sign in to comment.