Compare commits

..

4 Commits

4 changed files with 15 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

@ -46,7 +46,10 @@ 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:2024.4.2-develop.1349.c4711f6
@ -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'
@ -26,6 +24,9 @@ configMapGenerator:
- DB_PASSWORD="makeMeASecret" - DB_PASSWORD="makeMeASecret"
- REDIS_DSN="redis://redis:6379" - REDIS_DSN="redis://redis:6379"
- PEPPER="MakeMeABigSecret" - PEPPER="MakeMeABigSecret"
- ALTCHA_HOST=http://altcha:3333
- ALTCHA_BASE_URL=/altcha
- ALTCHA_ENABLED=true
- name: sql-login-config - name: sql-login-config
files: files:
- ./files/sql_login.yaml - ./files/sql_login.yaml

View File

@ -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.4.15-develop.1007.945a558
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
args: ["/usr/sbin/php-fpm81", "-F", "-e"] args: ["/usr/sbin/php-fpm81", "-F", "-e"]
readinessProbe: readinessProbe:
@ -68,7 +68,7 @@ spec:
subPath: 03_base.ini subPath: 03_base.ini
- 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.4.15-develop.1007.945a558
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: