fix(hydra-sql): add Caddy deployment

This commit is contained in:
cmsassot 2024-03-25 12:07:00 +01:00
parent cc12ad1700
commit 8110e02f16
1 changed files with 85 additions and 77 deletions

View File

@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: hydra-sql-fpm
image: reg.cadoles.com/cadoles/hydra-sql-base:2023.12.14-develop.1107.740a756
image: reg.cadoles.com/cmsassot/hydra-sql-test:latest
imagePullPolicy: Always
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
readinessProbe:
@ -54,9 +54,17 @@ spec:
subPath: "sql_login.yaml"
- name: hydra-sql-nginx
image: reg.cadoles.com/cadoles/hydra-sql-base:2023.12.14-develop.1107.740a756
image: reg.cadoles.com/cmsassot/hydra-sql-test:latest
imagePullPolicy: Always
args: ["/usr/sbin/nginx"]
args:
[
"/usr/sbin/caddy",
"run",
"--adapter",
"caddyfile",
"--config",
"/etc/caddy/Caddyfile",
]
readinessProbe:
httpGet:
path: /health