mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 10:32:55 +02:00
Whishper: add securitycontext
This commit is contained in:
@@ -22,10 +22,12 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
io.kompose.service: mongo
|
io.kompose.service: mongo
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 2000
|
||||||
containers:
|
containers:
|
||||||
# - args:
|
- args:
|
||||||
# - --logpath
|
- --logpath
|
||||||
# - /var/log/mongodb/mongod.log
|
- /var/log/mongodb/mongod.log
|
||||||
env:
|
env:
|
||||||
- name: DB_PASS
|
- name: DB_PASS
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
io.kompose.service: translate
|
io.kompose.service: translate
|
||||||
spec:
|
spec:
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 2000
|
||||||
containers:
|
containers:
|
||||||
- env:
|
- env:
|
||||||
- name: DB_PASS
|
- name: DB_PASS
|
||||||
|
|||||||
Reference in New Issue
Block a user