Compare commits
18 Commits
v1.0.31-un
...
unstable
Author | SHA1 | Date | |
---|---|---|---|
a50f2e50c3 | |||
7134e53584 | |||
41afa90886 | |||
f8b1dae1f2 | |||
3c9b5ec22a | |||
39438b0778 | |||
905a2aaa0d | |||
d2dfc4a5f8 | |||
e416237c20 | |||
086069b605 | |||
353b31e1ac | |||
e13ed81517 | |||
c1d9ca62d4 | |||
09c91e7cae | |||
3db15dfc8a | |||
77e167b17c | |||
d09b644b5f | |||
5e5670dcdf |
@ -26,4 +26,4 @@
|
|||||||
path: "/spec/template/spec/containers/0/env/-"
|
path: "/spec/template/spec/containers/0/env/-"
|
||||||
value:
|
value:
|
||||||
name: DSN
|
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)"
|
||||||
|
@ -18,7 +18,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: hydra-oidc-php-fpm
|
- 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.5.12-develop.1308.4d1b0a4
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
|
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
@ -45,6 +45,9 @@ spec:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: hydra-oidc-env
|
name: hydra-oidc-env
|
||||||
|
volumeMounts:
|
||||||
|
- name: oidc-tmp
|
||||||
|
mountPath: /tmp
|
||||||
resources: {}
|
resources: {}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
@ -52,7 +55,7 @@ spec:
|
|||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
|
|
||||||
- name: hydra-oidc-caddy
|
- 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.5.12-develop.1308.4d1b0a4
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
[
|
[
|
||||||
@ -100,3 +103,7 @@ spec:
|
|||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
|
volumes:
|
||||||
|
- name: oidc-tmp
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
|
@ -20,11 +20,3 @@ hydra:
|
|||||||
eduPersonAffiliation:
|
eduPersonAffiliation:
|
||||||
rules:
|
rules:
|
||||||
- "property_exists(consent.session.id_token, 'eduPersonAffiliation') ? consent.session.id_token.eduPersonAffiliation : null"
|
- "property_exists(consent.session.id_token, 'eduPersonAffiliation') ? consent.session.id_token.eduPersonAffiliation : null"
|
||||||
firewall:
|
|
||||||
rules:
|
|
||||||
email:
|
|
||||||
required: false
|
|
||||||
uid:
|
|
||||||
required: false
|
|
||||||
eduPersonAffiliation:
|
|
||||||
required: false
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
sql_login:
|
|
||||||
login_column_name: mail
|
|
||||||
password_column_name: password
|
|
||||||
salt_column_name: salt
|
|
||||||
table_name: user
|
|
||||||
data_to_fetch:
|
|
||||||
- mail
|
|
@ -24,9 +24,9 @@ configMapGenerator:
|
|||||||
- DB_PASSWORD="makeMeASecret"
|
- DB_PASSWORD="makeMeASecret"
|
||||||
- REDIS_DSN="redis://redis:6379"
|
- REDIS_DSN="redis://redis:6379"
|
||||||
- PEPPER="MakeMeABigSecret"
|
- PEPPER="MakeMeABigSecret"
|
||||||
- name: sql-login-config
|
- ALTCHA_HOST=http://altcha:3333
|
||||||
files:
|
- ALTCHA_BASE_URL=/altcha
|
||||||
- ./files/sql_login.yaml
|
- ALTCHA_ENABLED=true
|
||||||
- name: hydra-sql-php-ini
|
- name: hydra-sql-php-ini
|
||||||
files:
|
files:
|
||||||
- ./files/03_base.ini
|
- ./files/03_base.ini
|
||||||
|
@ -21,7 +21,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: hydra-sql-fpm
|
- 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.5.12-develop.1303.64d1c1c
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
|
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
@ -60,15 +60,14 @@ spec:
|
|||||||
- name: OPCACHE_REVALIDATE_FREQ
|
- name: OPCACHE_REVALIDATE_FREQ
|
||||||
value: "0"
|
value: "0"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: sql-login-config
|
|
||||||
mountPath: "/app/config/sql_login_configuration/sql_login.yaml"
|
|
||||||
subPath: "sql_login.yaml"
|
|
||||||
- name: hydra-sql-php-ini
|
- name: hydra-sql-php-ini
|
||||||
mountPath: /etc/php81/conf.d/03_base.ini
|
mountPath: /etc/php81/conf.d/03_base.ini
|
||||||
subPath: 03_base.ini
|
subPath: 03_base.ini
|
||||||
|
- name: sql-tmp
|
||||||
|
mountPath: /tmp
|
||||||
|
|
||||||
- name: hydra-sql-caddy
|
- 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.5.12-develop.1303.64d1c1c
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args: ["/usr/sbin/caddy", "run", "--adapter", "caddyfile", "--config", "/etc/caddy/Caddyfile"]
|
args: ["/usr/sbin/caddy", "run", "--adapter", "caddyfile", "--config", "/etc/caddy/Caddyfile"]
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
@ -107,16 +106,12 @@ spec:
|
|||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: http
|
name: http
|
||||||
volumeMounts:
|
|
||||||
- name: sql-login-config
|
|
||||||
mountPath: "/app/config/sql_login_configuration/sql_login.yaml"
|
|
||||||
subPath: "sql_login.yaml"
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: sql-login-config
|
|
||||||
configMap:
|
|
||||||
name: sql-login-config
|
|
||||||
- name: hydra-sql-php-ini
|
- name: hydra-sql-php-ini
|
||||||
configMap:
|
configMap:
|
||||||
name: hydra-sql-php-ini
|
name: hydra-sql-php-ini
|
||||||
|
- name: sql-tmp
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
|
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
|
@ -17,7 +17,7 @@ spec:
|
|||||||
app.kubernetes.io/name: oidc-test
|
app.kubernetes.io/name: oidc-test
|
||||||
spec:
|
spec:
|
||||||
containers:
|
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
|
name: oidc-test
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
@ -25,17 +25,6 @@ hydra:
|
|||||||
email:
|
email:
|
||||||
rules:
|
rules:
|
||||||
- "property_exists(consent.session.id_token, 'email') ? consent.session.id_token.email : null"
|
- "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:
|
webhook:
|
||||||
enabled: false
|
enabled: false
|
||||||
webhook_post_login:
|
webhook_post_login:
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
parameters:
|
|
||||||
env(HYDRA_DISPATCHER_WEBHOOK_ENABLED): false
|
|
||||||
env(HYDRA_DISPATCHER_WEBHOOK_API_URL): ""
|
|
||||||
env(HYDRA_DISPATCHER_WEBHOOK_API_KEY): ""
|
|
||||||
env(HYDRA_DISPATCHER_WEBHOOK_API_METHOD): POST
|
|
||||||
env(HYDRA_DISPATCHER_FIREWALL_ADDITIONAL_PROPERTIES): true
|
|
||||||
|
|
||||||
hydra:
|
|
||||||
apps: []
|
|
||||||
webhook:
|
|
||||||
enabled: "%env(bool:HYDRA_DISPATCHER_WEBHOOK_ENABLED)%"
|
|
||||||
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
|
|
@ -26,9 +26,6 @@ configMapGenerator:
|
|||||||
- DEFAULT_LOCALE=fr
|
- DEFAULT_LOCALE=fr
|
||||||
- APP_LOCALES=fr,en
|
- APP_LOCALES=fr,en
|
||||||
- REDIS_DSN="redis://redis:6379"
|
- REDIS_DSN="redis://redis:6379"
|
||||||
- name: hydra-dispatcher-apps
|
|
||||||
files:
|
|
||||||
- apps.yaml=./files/hydra/default.yaml
|
|
||||||
- name: hydra-dispatcher-php-ini
|
- name: hydra-dispatcher-php-ini
|
||||||
files:
|
files:
|
||||||
- ./files/03_base.ini
|
- ./files/03_base.ini
|
@ -19,7 +19,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: hydra-dispatcher-php-fpm
|
- 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.5.12-develop.1306.a249b62
|
||||||
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
|
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
exec:
|
exec:
|
||||||
@ -50,18 +50,18 @@ spec:
|
|||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: hydra-dispatcher-env
|
name: hydra-dispatcher-env
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/config/hydra
|
|
||||||
name: hydra-dispatcher-apps
|
|
||||||
- name: hydra-dispatcher-php-ini
|
- name: hydra-dispatcher-php-ini
|
||||||
mountPath: /etc/php81/conf.d/03_base.ini
|
mountPath: /etc/php81/conf.d/03_base.ini
|
||||||
subPath: 03_base.ini
|
subPath: 03_base.ini
|
||||||
|
- name: dispatcher-tmp
|
||||||
|
mountPath: /tmp
|
||||||
resources: {}
|
resources: {}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
- name: hydra-dispatcher-caddy
|
- 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.5.12-develop.1306.a249b62
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
args:
|
args:
|
||||||
[
|
[
|
||||||
@ -110,9 +110,9 @@ spec:
|
|||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
- name: hydra-dispatcher-apps
|
|
||||||
configMap:
|
|
||||||
name: hydra-dispatcher-apps
|
|
||||||
- name: hydra-dispatcher-php-ini
|
- name: hydra-dispatcher-php-ini
|
||||||
configMap:
|
configMap:
|
||||||
name: hydra-dispatcher-php-ini
|
name: hydra-dispatcher-php-ini
|
||||||
|
- name: dispatcher-tmp
|
||||||
|
emptyDir:
|
||||||
|
medium: Memory
|
||||||
|
@ -31,6 +31,10 @@ configMapGenerator:
|
|||||||
- URLS_LOGOUT=http://hydra-logout-app/logout
|
- URLS_LOGOUT=http://hydra-logout-app/logout
|
||||||
- HYDRA_SERVE_ALL_ARGS=--dev
|
- HYDRA_SERVE_ALL_ARGS=--dev
|
||||||
- HYDRA_DATABASE_MAX_CONN="10"
|
- 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"
|
- SERVE_ADMIN_REQUEST_LOG_DISABLE_FOR_HEALTH="true"
|
||||||
- LOG_LEVEL=info
|
- LOG_LEVEL=info
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user