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 +