diff --git a/components/hydra-oidc/resources/hydra-oidc-deployment.yaml b/components/hydra-oidc/resources/hydra-oidc-deployment.yaml index e4d1e7e..aa21eb5 100644 --- a/components/hydra-oidc/resources/hydra-oidc-deployment.yaml +++ b/components/hydra-oidc/resources/hydra-oidc-deployment.yaml @@ -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 diff --git a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml index 7ad1fc7..c1a33c6 100644 --- a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml +++ b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml @@ -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