From a21be87c46a85336abad0ac6e6d569946725c890 Mon Sep 17 00:00:00 2001 From: Matthieu Lamalle Date: Wed, 28 Jun 2023 10:14:26 +0200 Subject: [PATCH] Utilisation images symfony-containers --- components/hydra-oidc/kustomization.yaml | 4 +++- components/hydra-oidc/resources/hydra-oidc-deployment.yaml | 4 ++-- resources/hydra-dispatcher/kustomization.yaml | 2 ++ .../resources/hydra-dispatcher-deployment.yaml | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/components/hydra-oidc/kustomization.yaml b/components/hydra-oidc/kustomization.yaml index 6e6f2cb..fbbe3b8 100644 --- a/components/hydra-oidc/kustomization.yaml +++ b/components/hydra-oidc/kustomization.yaml @@ -10,6 +10,8 @@ configMapGenerator: literals: - APP_ENV=prod - APP_DEBUG=false + - PHP_FPM_MEMORY_LIMIT=256m + - NGINX_APP_SERVER_LISTEN=80 - HYDRA_ADMIN_BASE_URL=http://hydra-dispatcher - OIC_AUTHORIZE_ENDPOINT=https://oidc-idp/api/v1/authorize - OIDC_TOKEN_ENDPOINT=https://oidc-idp/api/v1/token @@ -34,4 +36,4 @@ patchesJson6902: version: v1 kind: ConfigMap name: hydra-dispatcher-env - path: patches/hydra-dispatcher-env.yaml \ No newline at end of file + path: patches/hydra-dispatcher-env.yaml diff --git a/components/hydra-oidc/resources/hydra-oidc-deployment.yaml b/components/hydra-oidc/resources/hydra-oidc-deployment.yaml index 11c754f..e537168 100644 --- a/components/hydra-oidc/resources/hydra-oidc-deployment.yaml +++ b/components/hydra-oidc/resources/hydra-oidc-deployment.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: hydra-oidc - image: reg.cadoles.com/cadoles/hydra-oidc-v1:v0.0.0-170-g485b138 + image: reg.cadoles.com/cadoles/hydra-oidc:86ef32a-symfony-containers envFrom: - configMapRef: name: hydra-oidc-env @@ -26,4 +26,4 @@ spec: - containerPort: 80 resources: {} restartPolicy: Always - + diff --git a/resources/hydra-dispatcher/kustomization.yaml b/resources/hydra-dispatcher/kustomization.yaml index 23d854a..c44e6af 100644 --- a/resources/hydra-dispatcher/kustomization.yaml +++ b/resources/hydra-dispatcher/kustomization.yaml @@ -10,6 +10,8 @@ configMapGenerator: literals: - APP_ENV=prod - APP_DEBUG=false + - PHP_FPM_MEMORY_LIMIT=256m + - NGINX_APP_SERVER_LISTEN=80 - HYDRA_BASE_URL=http://hydra:4444 - HYDRA_ADMIN_BASE_URL=http://hydra:4445 - HYDRA_REWRITE_ISSUER=yes diff --git a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml index 2a049ce..8b28c20 100644 --- a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml +++ b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml @@ -18,7 +18,7 @@ spec: spec: containers: - name: hydra-dispatcher - image: reg.cadoles.com/cadoles/hydra-dispatcher-v1:v0.0.0-238-g7236416 + image: reg.cadoles.com/cadoles/hydra-dispatcher:808658d-symfony-containers envFrom: - configMapRef: name: hydra-dispatcher-env