Skip to content

Commit 8f64f4b

Browse files
[release-v0.15.x] Resolve STS not starting when fsGroup is not set (#1085)
* Resolve STS not starting when fsGroup is not set * Actually place securitycontext on the correct location --------- Co-authored-by: sventenraa <sven.ten.raa@alliander.com>
1 parent c384ad2 commit 8f64f4b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/components/local-db/201-sql-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ spec:
3838
labels:
3939
app.kubernetes.io/name: tekton-results-postgres
4040
spec:
41+
securityContext:
42+
fsGroup: 1001
4143
containers:
4244
- name: postgres
4345
image: bitnami/postgresql@sha256:35c57c2abb3775004d4a247b1119b2e436b0ef620c9236c64aebce373b58ff9a # 13.12.0

0 commit comments

Comments
 (0)