This commit is contained in:
cmsassot 2024-03-26 08:09:32 +01:00
parent 85ec6f03c8
commit f510fffb41
2 changed files with 13 additions and 0 deletions

View File

@ -94,8 +94,15 @@ spec:
- name: CADDY_APP_ROOT_PUBLIC
value: "/app/public/"
resources: {}
volumeMounts:
- name: caddy-data
mountPath: /tmp/caddy
securityContext:
runAsNonRoot: true
runAsGroup: 1000
runAsUser: 1000
restartPolicy: Always
volumes:
- name: caddy-data
emptyDir:
sizeLimit: 128Mi

View File

@ -95,6 +95,9 @@ spec:
ports:
- containerPort: 8080
resources: {}
volumeMounts:
- name: caddy-data
mountPath: /tmp/caddy
securityContext:
runAsNonRoot: true
runAsGroup: 1000
@ -104,3 +107,6 @@ spec:
- name: hydra-dispatcher-apps
configMap:
name: hydra-dispatcher-apps
- name: caddy-data
emptyDir:
sizeLimit: 128Mi