Skip to content

Commit d527b90

Browse files
fix(helm): add securityContext to nats pods
Signed-off-by: Fabrizio Sestito <fabrizio.sestito@suse.com>
1 parent b617d93 commit d527b90

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

helm/values.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,30 @@ nats:
3434
enabled: true
3535
natsBox:
3636
enabled: false
37+
container:
38+
merge:
39+
securityContext:
40+
readOnlyRootFilesystem: true
41+
runAsNonRoot: true
42+
runAsUser: 65532
43+
seccompProfile:
44+
type: RuntimeDefault
45+
allowPrivilegeEscalation: false
46+
capabilities:
47+
drop:
48+
- "ALL"
49+
reloader:
50+
merge:
51+
securityContext:
52+
readOnlyRootFilesystem: true
53+
runAsNonRoot: true
54+
runAsUser: 65532
55+
seccompProfile:
56+
type: RuntimeDefault
57+
allowPrivilegeEscalation: false
58+
capabilities:
59+
drop:
60+
- "ALL"
3761

3862
persistence:
3963
enabled: true

0 commit comments

Comments
 (0)