Philippe Caseiro
29f539f7ab
fix container liveness and readyness probes fix service with correct port
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
kind: Component
|
|
|
|
resources:
|
|
- ./resources/hydra-oidc-deployment.yaml
|
|
- ./resources/hydra-oidc-service.yaml
|
|
|
|
generatorOptions:
|
|
labels:
|
|
com.cadoles.forge.sso-kustom/session: redis
|
|
|
|
configMapGenerator:
|
|
- name: hydra-oidc-env
|
|
literals:
|
|
- APP_ENV=prod
|
|
- APP_DEBUG=false
|
|
- PHP_FPM_MEMORY_LIMIT=256m
|
|
- NGINX_APP_SERVER_LISTEN=80
|
|
- HYDRA_ADMIN_BASE_URL=http://hydra-dispatcher
|
|
- OIC_AUTHORIZE_ENDPOINT=https://oidc-idp/api/v1/authorize
|
|
- OIDC_TOKEN_ENDPOINT=https://oidc-idp/api/v1/token
|
|
- OIDC_USERINFO_ENDPOINT=https://oidc-idp/api/v1/userinfo
|
|
- POST_LOGOUT_REDIRECT_URL=http://oidc-sp/logout
|
|
- OIDC_LOGOUT_ENDPOINT=https://oidc-idp/api/v1/logout?%s
|
|
- BASE_URL=http://hydra-oidc
|
|
- PARAMS_TO_DELETE=[]
|
|
- PARAMS_TO_INSERT={}
|
|
- OIDC_SCOPE=openid email
|
|
- CLIENT_ID_FC=MyClientID
|
|
- CLIENT_SECRET_FC=MyClientSecret
|
|
- 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"
|