Skip to content

Commit

Permalink
Update all-resources.yml
Browse files Browse the repository at this point in the history
Added limits and sec. stuff
  • Loading branch information
AdmiraalA authored Feb 21, 2024
1 parent 5fff343 commit 37aa8b0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deployments/nginx/all-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,16 @@ spec:
containers:
- image: nginx:1.25.3
name: nginx
imagePullPolicy: Always
securityContext:
allowPrivilegeEscalation: false
resources:
limits:
cpu: "0.5"
memory: "500Mi"
requests:
cpu: "0.1"
memory: "100Mi"
env:
- name: SECURE_SUBNET
value: 8.8.8.8/32 # change-me
Expand Down

0 comments on commit 37aa8b0

Please sign in to comment.