From 012b9daf21e76673dc27a32674dce6613299c0ff Mon Sep 17 00:00:00 2001 From: cmsassot Date: Tue, 26 Mar 2024 09:56:18 +0100 Subject: [PATCH] test --- .../resources/hydra-oidc-deployment.yaml | 2 +- .../resources/hydra-dispatcher-deployment.yaml | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/components/hydra-oidc/resources/hydra-oidc-deployment.yaml b/components/hydra-oidc/resources/hydra-oidc-deployment.yaml index e4d1e7e..3deff6c 100644 --- a/components/hydra-oidc/resources/hydra-oidc-deployment.yaml +++ b/components/hydra-oidc/resources/hydra-oidc-deployment.yaml @@ -86,7 +86,7 @@ spec: - name: CADDY_APP_UPSTREAM_BACKEND_SERVER value: 127.0.0.1:9000 - name: CADDY_HTTPS_PORT - value: "8443" + value: "443" - name: CADDY_HTTP_PORT value: "8080" - name: CADDY_DATA_FS diff --git a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml index 7ad1fc7..993dc10 100644 --- a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml +++ b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml @@ -85,7 +85,7 @@ spec: - name: CADDY_APP_UPSTREAM_BACKEND_SERVER value: 127.0.0.1:9000 - name: CADDY_HTTPS_PORT - value: "8443" + value: "443" - name: CADDY_HTTP_PORT value: "8080" - name: CADDY_DATA_FS @@ -95,6 +95,11 @@ spec: ports: - containerPort: 8080 resources: {} + volumeMounts: + - name: caddy-data + mountPath: /tmp/caddy + - name: caddy-var + mountPath: /var/caddy securityContext: runAsNonRoot: true runAsGroup: 1000 @@ -104,3 +109,10 @@ spec: - name: hydra-dispatcher-apps configMap: name: hydra-dispatcher-apps + - name: caddy-data + emptyDir: + sizeLimit: 128Mi + - name: caddy-var + emptyDir: + sizeLimit: 256Mi +