Skip to content

Commit

Permalink
feat: specifiy security context
Browse files Browse the repository at this point in the history
  • Loading branch information
mstruebing committed Sep 7, 2023
1 parent 6779a38 commit 19515dc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions services/ai-navigator-app/0.1.0/ai-navigator-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ spec:
initialDelaySeconds: 60
timeoutSeconds: 30
failureThreshold: 10
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit 19515dc

Please sign in to comment.