Compare commits

..

1 Commits

Author SHA1 Message Date
76d2989e85 Revert "fix(dispatcher): liveness probe must use the container port"
This reverts commit 0dbd5dd551.
2024-02-12 14:41:44 +01:00
6 changed files with 114 additions and 97 deletions

View File

@ -31,6 +31,14 @@ configMapGenerator:
- COOKIE_PATH=/
- TRUSTED_PROXIES=127.0.0.1,REMOTE_ADDR
- REDIS_DSN="redis://redis:6379"
- HYDRA_DISPATCHER_OIDC_LOGIN_URL="http://hydra-oidc/login"
- HYDRA_DISPATCHER_OIDC_CONSENT_URL="http://hydra-oidc/consent"
- HYDRA_DISPATCHER_OIDC_LOGOUT_URL="http://hydra-oidc/logout"
# - name: hydra-dispatcher-apps
# behavior: merge
# files:
# - apps.yaml=./files/hydra/oidc.yaml
patchesJson6902:
- target:
version: v1
kind: ConfigMap
name: hydra-oidc-env
path: patches/hydra-oidc-env.yaml

View File

@ -0,0 +1,9 @@
- op: replace
path: "/data/HYDRA_DISPATCHER_OIDC_LOGIN_URL"
value: http://hydra-oidc/login
- op: replace
path: "/data/HYDRA_DISPATCHER_OIDC_CONSENT_URL"
value: http://hydra-oidc/consent
- op: replace
path: "/data/HYDRA_DISPATCHER_OIDC_LOGOUT_URL"
value: http://hydra-oidc/logout

View File

@ -54,14 +54,14 @@ spec:
readinessProbe:
httpGet:
path: /healthy
port: 8080
port: 80
initialDelaySeconds: 5
timeoutSeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /healthy
port: 8080
port: 80
initialDelaySeconds: 15
timeoutSeconds: 5
periodSeconds: 15

View File

@ -7,7 +7,7 @@ metadata:
spec:
ports:
- name: hydra-oidc
port: 8080
port: 80
selector:
io.kompose.service: hydra-oidc
status:

View File

@ -56,14 +56,14 @@ spec:
readinessProbe:
httpGet:
path: /health
port: 8080
port: 80
initialDelaySeconds: 5
timeoutSeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /health
port: 8080
port: 80
initialDelaySeconds: 15
timeoutSeconds: 5
periodSeconds: 15

View File

@ -7,7 +7,7 @@ metadata:
spec:
ports:
- name: http
port: 8080
port: 80
selector:
io.kompose.service: hydra-dispatcher
status: