From 09c91e7cae71045b02c8a401e2ebb804ada26f13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laurent=20Gourv=C3=A9nec?= Date: Tue, 18 Mar 2025 15:12:14 +0100 Subject: [PATCH] feat(hydra-dispatcher): update image ref Breaking change: section "firewall" is not allowed anymore --- components/hydra-saml/files/hydra/saml.yaml | 8 -------- .../files/hydra-dispatcher-apps.yaml | 11 ----------- resources/hydra-dispatcher/files/hydra/default.yaml | 3 --- .../resources/hydra-dispatcher-deployment.yaml | 4 ++-- 4 files changed, 2 insertions(+), 24 deletions(-) diff --git a/components/hydra-saml/files/hydra/saml.yaml b/components/hydra-saml/files/hydra/saml.yaml index 518c43b..3f25a3f 100644 --- a/components/hydra-saml/files/hydra/saml.yaml +++ b/components/hydra-saml/files/hydra/saml.yaml @@ -20,11 +20,3 @@ hydra: eduPersonAffiliation: rules: - "property_exists(consent.session.id_token, 'eduPersonAffiliation') ? consent.session.id_token.eduPersonAffiliation : null" - firewall: - rules: - email: - required: false - uid: - required: false - eduPersonAffiliation: - required: false diff --git a/examples/authenticated-app/files/hydra-dispatcher-apps.yaml b/examples/authenticated-app/files/hydra-dispatcher-apps.yaml index 24b19f5..2a20a18 100644 --- a/examples/authenticated-app/files/hydra-dispatcher-apps.yaml +++ b/examples/authenticated-app/files/hydra-dispatcher-apps.yaml @@ -25,17 +25,6 @@ hydra: email: rules: - "property_exists(consent.session.id_token, 'email') ? consent.session.id_token.email : null" - firewall: - additional_properties: true - rules: - siret: - required: false - email: - required: false - given_name: - required: false - family_name: - required: false webhook: enabled: false webhook_post_login: diff --git a/resources/hydra-dispatcher/files/hydra/default.yaml b/resources/hydra-dispatcher/files/hydra/default.yaml index 9b05778..5eeb26f 100644 --- a/resources/hydra-dispatcher/files/hydra/default.yaml +++ b/resources/hydra-dispatcher/files/hydra/default.yaml @@ -12,8 +12,5 @@ hydra: api_url: "%env(string:HYDRA_DISPATCHER_WEBHOOK_API_URL)%" api_key: "%env(string:HYDRA_DISPATCHER_WEBHOOK_API_KEY)%" api_method: "%env(string:HYDRA_DISPATCHER_WEBHOOK_API_METHOD)%" - firewall: - additional_properties: "%env(bool:HYDRA_DISPATCHER_FIREWALL_ADDITIONAL_PROPERTIES)%" - rules: {} webhook_post_login: enabled: false diff --git a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml index 74d0ed9..93f76bd 100644 --- a/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml +++ b/resources/hydra-dispatcher/resources/hydra-dispatcher-deployment.yaml @@ -19,7 +19,7 @@ spec: spec: containers: - name: hydra-dispatcher-php-fpm - image: reg.cadoles.com/cadoles/hydra-dispatcher-base:2024.9.24-develop.1122.f88a5eb + image: reg.cadoles.com/cadoles/hydra-dispatcher-base:2025.3.18-develop.1401.4646fbb args: ["/usr/sbin/php-fpm81", "-F", "-e"] readinessProbe: exec: @@ -61,7 +61,7 @@ spec: runAsGroup: 1000 runAsUser: 1000 - name: hydra-dispatcher-caddy - image: reg.cadoles.com/cadoles/hydra-dispatcher-base:2024.9.24-develop.1122.f88a5eb + image: reg.cadoles.com/cadoles/hydra-dispatcher-base:2025.3.18-develop.1401.4646fbb imagePullPolicy: IfNotPresent args: [