Skip to content

Commit

Permalink
fix: nats pod security context
Browse files Browse the repository at this point in the history
  • Loading branch information
ed382 committed Nov 14, 2024
1 parent 8432ae5 commit 2d6913a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions charts/testkube-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ global:
# -- Global security Context for all containers.
containerSecurityContext: {}
# -- Global security Context for all pods.
podSecurityContext:
runAsNonRoot: true
podSecurityContext: {}
# Testkube requires a variety of secrets to operate.
# Any secret not provided manually will be automatically generated with a random value by the shared secret job.
sharedSecretGenerator:
Expand Down Expand Up @@ -495,6 +494,12 @@ nats:
# -- Toggle whether to install NATS
enabled: true
fullnameOverride: testkube-enterprise-nats
# -- NATS Pod Security Context
podSecurityContext:
runAsNonRoot: true
runAsUser: 1001
runAsGroup: 1001
fsGroup: 1001
# Uncomment if you want to provide a different image or pullPolicy
container:
merge:
Expand Down

0 comments on commit 2d6913a

Please sign in to comment.