Skip to content

Commit

Permalink
chore(cd/devops): containerSecurityContext
Browse files Browse the repository at this point in the history
  • Loading branch information
guesant committed Nov 29, 2024
1 parent 4591979 commit 67f1b01
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .devops/api-service/values.common.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
applicationName: ladesa-ro-api

service:
enabled: true
type: NodePort
ports:
- name: web-service
port: 80
targetPort: web-port

deployment:
enabled: false

replicas: 1
enabled: false

containerSecurityContext: false
containerSecurityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false

ports:
- containerPort: 3000
name: web-port

resources:
requests:
cpu: "50m"
memory: "1Gi"

readinessProbe:
httpGet:
path: /health/
Expand All @@ -38,5 +36,13 @@ deployment:
failureThreshold: 30
periodSeconds: 10

service:
enabled: true
type: NodePort
ports:
- name: web-service
port: 80
targetPort: web-port

ingress:
enabled: false
4 changes: 4 additions & 0 deletions .devops/docs-npm-api-client-fetch/values.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ deployment:
replicas: 1
enabled: false

containerSecurityContext:
runAsNonRoot: false
readOnlyRootFilesystem: false

ports:
- containerPort: 80
name: web-port
Expand Down

0 comments on commit 67f1b01

Please sign in to comment.