This commit is contained in:
cmsassot 2024-03-26 09:56:18 +01:00
parent 85ec6f03c8
commit 012b9daf21
2 changed files with 14 additions and 2 deletions

View File

@ -86,7 +86,7 @@ spec:
- name: CADDY_APP_UPSTREAM_BACKEND_SERVER - name: CADDY_APP_UPSTREAM_BACKEND_SERVER
value: 127.0.0.1:9000 value: 127.0.0.1:9000
- name: CADDY_HTTPS_PORT - name: CADDY_HTTPS_PORT
value: "8443" value: "443"
- name: CADDY_HTTP_PORT - name: CADDY_HTTP_PORT
value: "8080" value: "8080"
- name: CADDY_DATA_FS - name: CADDY_DATA_FS

View File

@ -85,7 +85,7 @@ spec:
- name: CADDY_APP_UPSTREAM_BACKEND_SERVER - name: CADDY_APP_UPSTREAM_BACKEND_SERVER
value: 127.0.0.1:9000 value: 127.0.0.1:9000
- name: CADDY_HTTPS_PORT - name: CADDY_HTTPS_PORT
value: "8443" value: "443"
- name: CADDY_HTTP_PORT - name: CADDY_HTTP_PORT
value: "8080" value: "8080"
- name: CADDY_DATA_FS - name: CADDY_DATA_FS
@ -95,6 +95,11 @@ spec:
ports: ports:
- containerPort: 8080 - containerPort: 8080
resources: {} resources: {}
volumeMounts:
- name: caddy-data
mountPath: /tmp/caddy
- name: caddy-var
mountPath: /var/caddy
securityContext: securityContext:
runAsNonRoot: true runAsNonRoot: true
runAsGroup: 1000 runAsGroup: 1000
@ -104,3 +109,10 @@ spec:
- name: hydra-dispatcher-apps - name: hydra-dispatcher-apps
configMap: configMap:
name: hydra-dispatcher-apps name: hydra-dispatcher-apps
- name: caddy-data
emptyDir:
sizeLimit: 128Mi
- name: caddy-var
emptyDir:
sizeLimit: 256Mi