Skip to content

Commit

Permalink
fix security context
Browse files Browse the repository at this point in the history
  • Loading branch information
ChromaticPanic committed Nov 20, 2024
1 parent aebbdbf commit a3f2fff
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions kubernetes/aks/apps/nachet/base/nachet-rcnn-model-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,6 @@ spec:
labels:
app: nachet-rcnn-detector
spec:
securityContext:
runAsNonRoot: false
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: false
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
Expand Down Expand Up @@ -76,7 +67,10 @@ spec:
cpu: "500m"
memory: "2Gi"
securityContext:
readOnlyRootFilesystem: true
runAsNonRoot: false
runAsUser: 1000
runAsGroup: 1000
readOnlyRootFilesystem: false
allowPrivilegeEscalation: false
capabilities:
drop:
Expand Down

0 comments on commit a3f2fff

Please sign in to comment.