feat(pods): change image pull policy from Always to IfNotPresent

Otherwise, we have a SPOF with the image registry used
This commit is contained in:
Laurent Gourvenec 2024-12-13 14:06:56 +01:00
parent 99056b875e
commit 4df11ead1e
3 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ spec:
containers:
- name: hydra-oidc-php-fpm
image: reg.cadoles.com/cadoles/hydra-oidc-base:2024.4.2-develop.1349.c4711f6
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
readinessProbe:
exec:
@ -53,7 +53,7 @@ spec:
- name: hydra-oidc-caddy
image: reg.cadoles.com/cadoles/hydra-oidc-base:2024.4.2-develop.1349.c4711f6
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
args:
[
"/usr/sbin/caddy",

View File

@ -22,7 +22,7 @@ spec:
containers:
- name: hydra-sql-fpm
image: reg.cadoles.com/cadoles/hydra-sql-base:2024.11.6-develop.1113.075be9b
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
args: ["/usr/sbin/php-fpm81", "-F", "-e"]
readinessProbe:
exec:
@ -69,7 +69,7 @@ spec:
- name: hydra-sql-caddy
image: reg.cadoles.com/cadoles/hydra-sql-base:2024.11.6-develop.1113.075be9b
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
args: ["/usr/sbin/caddy", "run", "--adapter", "caddyfile", "--config", "/etc/caddy/Caddyfile"]
readinessProbe:
httpGet:

View File

@ -61,7 +61,7 @@ spec:
runAsUser: 1000
- name: hydra-dispatcher-caddy
image: reg.cadoles.com/cadoles/hydra-dispatcher-base:2024.9.24-develop.1122.f88a5eb
imagePullPolicy: Always
imagePullPolicy: IfNotPresent
args:
[
"/usr/sbin/caddy",