Skip to content

Commit

Permalink
Merge branch 'main' into mathieu-benoit-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Oct 14, 2024
2 parents 3cd5ebb + 43302d2 commit efe356d
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion internal/provisioners/default/zz-default.provisioners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@
k8s.score.dev/resource-uid: {{ .Uid }}
k8s.score.dev/resource-guid: {{ .Guid }}
spec:
automountServiceAccountToken: false
containers:
- name: mongo-db
image: mongo:latest
Expand All @@ -611,9 +612,28 @@
initialDelaySeconds: 30
timeoutSeconds: 5
periodSeconds: 20
securityContext:
runAsUser: 1001
runAsGroup: 1001
allowPrivilegeEscalation: false
privileged: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
volumeMounts:
- name: data
mountPath: /var/db
mountPath: /data/db
- name: tmp
mountPath: /tmp
securityContext:
runAsNonRoot: true
fsGroup: 1001
seccompProfile:
type: RuntimeDefault
volumes:
- name: tmp
emptyDir: {}
volumeClaimTemplates:
- metadata:
name: data
Expand Down

0 comments on commit efe356d

Please sign in to comment.