Compare commits

..

1 Commits

Author SHA1 Message Date
482838810e feat(FC2) : update hydra-oidc for fc2 compatibility 2025-04-11 09:47:32 +02:00
3 changed files with 12 additions and 8 deletions

View File

@ -13,8 +13,8 @@ configMapGenerator:
- name: hydra-oidc-env - name: hydra-oidc-env
behavior: create behavior: create
literals: literals:
- APP_ENV=dev - APP_ENV=prod
- APP_DEBUG=true - APP_DEBUG=false
- PHP_FPM_MEMORY_LIMIT=256m - PHP_FPM_MEMORY_LIMIT=256m
- NGINX_APP_SERVER_LISTEN=80 - NGINX_APP_SERVER_LISTEN=80
- HYDRA_ADMIN_BASE_URL=http://hydra-dispatcher - HYDRA_ADMIN_BASE_URL=http://hydra-dispatcher

View File

@ -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.4.7-develop.951.64b13e8
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
args: ["/usr/sbin/php-fpm81", "-F", "-e"] args: ["/usr/sbin/php-fpm81", "-F", "-e"]
readinessProbe: readinessProbe:
@ -46,10 +46,13 @@ spec:
- configMapRef: - configMapRef:
name: hydra-oidc-env name: hydra-oidc-env
resources: {} resources: {}
securityContext:
runAsNonRoot: true
runAsGroup: 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.4.7-develop.951.64b13e8
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
args: args:
[ [
@ -92,5 +95,8 @@ spec:
- name: CADDY_APP_ROOT_PUBLIC - name: CADDY_APP_ROOT_PUBLIC
value: "/app/public/" value: "/app/public/"
resources: {} resources: {}
securityContext:
runAsNonRoot: true
runAsGroup: 1000
runAsUser: 1000
restartPolicy: Always restartPolicy: Always

View File

@ -13,8 +13,6 @@ configMapGenerator:
- name: hydra-sql-env - name: hydra-sql-env
behavior: create behavior: create
literals: literals:
- APP_ENV=dev
- APP_DEBUG=true
- ISSUER_URL="http://localhost:8000" - ISSUER_URL="http://localhost:8000"
- BASE_URL='http://localhost:8080' - BASE_URL='http://localhost:8080'
- HYDRA_ADMIN_BASE_URL='http://hydra:4445/admin' - HYDRA_ADMIN_BASE_URL='http://hydra:4445/admin'