Skip to content

Commit a69193e

Browse files
fix: implemented a few security fixes recommended by terrascan
1 parent 9c699ff commit a69193e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

k8s/deploy-app.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ spec:
88
containers:
99
- name: ddp
1010
image: ddp:0.1.1 # change this after pushing the image to a registry
11+
resources:
12+
requests:
13+
memory: 64Mi
14+
cpu: 250m
15+
limits:
16+
memory: 128Mi
17+
cpu: 500m
18+
securityContext:
19+
allowPrivilegeEscalation: false
20+
runAsNonRoot: true
21+
readOnlyRootFileSystem: true
22+
securityContext:
23+
runAsNonRoot: true
1124
---
1225
kind: Service
1326
apiVersion: v1

0 commit comments

Comments
 (0)