Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Commit

Permalink
port fixes to preprod after testing in dev (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAkindele committed May 11, 2022
1 parent b76b4ad commit 6cae0a4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions autogitops/preprod/loderunner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ spec:
- name: app
image: {{gitops.lrImage}}
imagePullPolicy: Always
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
runAsNonRoot: true
runAsUser: 10001
ports:
- name: http
containerPort: 8080
Expand All @@ -32,6 +40,14 @@ spec:
requests:
memory: "512Mi"
cpu: "500m"
livenessProbe:
httpGet:
path: /version
port: http
readinessProbe:
httpGet:
path: /version
port: http
args:
- -l
- "1000"
Expand All @@ -43,6 +59,16 @@ spec:
- -f
- benchmark.json
- -p
volumeMounts:
- mountPath: /tmp
name: tmp
automountServiceAccountToken: false
securityContext:
seccompProfile:
type: RuntimeDefault
volumes:
- emptyDir: {}
name: tmp
---

apiVersion: v1
Expand Down

0 comments on commit 6cae0a4

Please sign in to comment.