fix mongo pod hardening
This commit is contained in:
@@ -24,11 +24,6 @@ spec:
|
||||
ports:
|
||||
- containerPort: 27017
|
||||
name: mongo
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
volumeMounts:
|
||||
- name: mongo-data
|
||||
mountPath: /data/db
|
||||
|
||||
Reference in New Issue
Block a user