mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-16 06:29:09 +01:00
Whishper: add securitycontext
This commit is contained in:
1 parent
241411a614
commit
66f8419a47
2 files changed
+7
-3
No files matched your search
@@ -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