Compare commits

...

12 Commits

Author SHA1 Message Date
905a2aaa0d Merge pull request 'feat(FC2) : update hydra-oidc for fc2 compatibility' (#71) from fc2 into unstable
Reviewed-on: #71
2025-04-29 11:31:52 +02:00
d2dfc4a5f8 feat(FC2) : update hydra-oidc for fc2 compatibility 2025-04-29 11:31:52 +02:00
e416237c20 Merge pull request 'feat(altcha) #4543 bis : remove feature flag endpoint' (#73) from issue-4543-hydra-sql-theme into unstable
Reviewed-on: #73
2025-04-15 10:57:05 +02:00
086069b605 feat(altcha) #4543 bis : remove feature flag endpoint 2025-04-15 10:20:38 +02:00
353b31e1ac Merge pull request 'MSE#4543 add altcha to hydra sql' (#72) from issue-4543-hydra-sql-theme into unstable
Reviewed-on: #72
Reviewed-by: vfebvre <vfebvre@cadoles.com>
2025-04-14 15:33:52 +02:00
e13ed81517 feat(altcha) #4543 : add altcha to hydra sql theme 2025-04-10 16:32:02 +02:00
c1d9ca62d4 Merge pull request 'feat(hydra-dispatcher): update image ref' (#70) from f/update_hydra_dispatcher into unstable
Reviewed-on: #70
2025-03-18 16:13:32 +01:00
09c91e7cae feat(hydra-dispatcher): update image ref
Breaking change: section "firewall" is not allowed anymore
2025-03-18 15:12:14 +01:00
3db15dfc8a Merge pull request 'feat(oidc-test): update image ref' (#68) from feat/update_oidc-test_20250311 into unstable
Reviewed-on: #68
2025-03-11 15:46:07 +01:00
77e167b17c feat(oidc-test): update image ref 2025-03-11 15:42:32 +01:00
d09b644b5f Merge pull request 'feat(hydra-cnpg): configure DSN with more options' (#66) from f/hydra-cnpg_dsn_options into unstable
Reviewed-on: #66
Reviewed-by: wpetit <wpetit@cadoles.com>
Reviewed-by: pcaseiro <pcaseiro@cadoles.com>
2025-03-11 15:35:46 +01:00
5e5670dcdf feat(hydra-cnpg): configure DSN with more options 2025-03-07 15:31:59 +01:00
10 changed files with 15 additions and 30 deletions

View File

@ -26,4 +26,4 @@
path: "/spec/template/spec/containers/0/env/-"
value:
name: DSN
value: "postgres://$(HYDRA_DATABASE_USER):$(HYDRA_DATABASE_PASSWORD)@$(HYDRA_DATABASE_SERVICE_NAME):5432/hydra?sslmode=disable&max_conns=$(HYDRA_DATABASE_MAX_CONN)"
value: "postgres://$(HYDRA_DATABASE_USER):$(HYDRA_DATABASE_PASSWORD)@$(HYDRA_DATABASE_SERVICE_NAME):5432/hydra?sslmode=disable&max_conns=$(HYDRA_DATABASE_MAX_CONN)&max_idle_conns=$(HYDRA_DATABASE_MAX_IDLE_CONNS)&max_conn_lifetime=$(HYDRA_DATABASE_MAX_CONN_LIFETIME)&max_conn_idle_time=$(HYDRA_DATABASE_MAX_CONN_IDLE_TIME)&connect_timeout=$(HYDRA_DATABASE_CONNECT_TIMEOUT)"

View File

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: hydra-oidc-php-fpm
image: reg.cadoles.com/cadoles/hydra-oidc-base:2024.4.2-develop.1349.c4711f6
image: reg.cadoles.com/cadoles/hydra-oidc-base:2025.4.7-develop.951.64b13e8
imagePullPolicy: IfNotPresent
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
readinessProbe:
@ -52,7 +52,7 @@ spec:
runAsUser: 1000
- name: hydra-oidc-caddy
image: reg.cadoles.com/cadoles/hydra-oidc-base:2024.4.2-develop.1349.c4711f6
image: reg.cadoles.com/cadoles/hydra-oidc-base:2025.4.7-develop.951.64b13e8
imagePullPolicy: IfNotPresent
args:
[

View File

@ -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

View File

@ -24,6 +24,9 @@ configMapGenerator:
- DB_PASSWORD="makeMeASecret"
- REDIS_DSN="redis://redis:6379"
- PEPPER="MakeMeABigSecret"
- ALTCHA_HOST=http://altcha:3333
- ALTCHA_BASE_URL=/altcha
- ALTCHA_ENABLED=true
- name: sql-login-config
files:
- ./files/sql_login.yaml

View File

@ -21,7 +21,7 @@ spec:
spec:
containers:
- name: hydra-sql-fpm
image: reg.cadoles.com/cadoles/hydra-sql-base:2025.3.7-develop.1415.7239d84
image: reg.cadoles.com/cadoles/hydra-sql-base:2025.4.15-develop.1007.945a558
imagePullPolicy: IfNotPresent
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
readinessProbe:
@ -68,7 +68,7 @@ spec:
subPath: 03_base.ini
- name: hydra-sql-caddy
image: reg.cadoles.com/cadoles/hydra-sql-base:2025.3.7-develop.1415.7239d84
image: reg.cadoles.com/cadoles/hydra-sql-base:2025.4.15-develop.1007.945a558
imagePullPolicy: IfNotPresent
args: ["/usr/sbin/caddy", "run", "--adapter", "caddyfile", "--config", "/etc/caddy/Caddyfile"]
readinessProbe:

View File

@ -17,7 +17,7 @@ spec:
app.kubernetes.io/name: oidc-test
spec:
containers:
- image: reg.cadoles.com/cadoles/oidc-test:2023.12.6-stable.1502.ebfd504
- image: reg.cadoles.com/cadoles/oidc-test:2025.3.11-stable.1428.6545cb3
name: oidc-test
ports:
- containerPort: 8080

View File

@ -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:

View File

@ -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

View File

@ -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:
[

View File

@ -31,6 +31,10 @@ configMapGenerator:
- URLS_LOGOUT=http://hydra-logout-app/logout
- HYDRA_SERVE_ALL_ARGS=--dev
- HYDRA_DATABASE_MAX_CONN="10"
- HYDRA_DATABASE_MAX_IDLE_CONNS="5"
- HYDRA_DATABASE_MAX_CONN_LIFETIME="0" # Unlimited. ms, s, m, h
- HYDRA_DATABASE_MAX_CONN_IDLE_TIME="0" # Unlimited. ms, s, m, h
- HYDRA_DATABASE_CONNECT_TIMEOUT="0" # Unlimited
- SERVE_ADMIN_REQUEST_LOG_DISABLE_FOR_HEALTH="true"
- LOG_LEVEL=info