2023-02-01 16:18:47 +01:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
|
|
kind: Component
|
|
|
|
|
|
|
|
resources:
|
|
|
|
- ./resources/hydra-saml-service.yaml
|
|
|
|
- ./resources/hydra-saml-shibboleth-sp-deployment.yaml
|
|
|
|
- ./resources/hydra-saml-remote-user-deployment.yaml
|
|
|
|
- ./resources/hydra-saml-remote-user-service.yaml
|
|
|
|
|
|
|
|
configMapGenerator:
|
|
|
|
- name: hydra-saml-env
|
|
|
|
literals:
|
|
|
|
# Hydra Remote User environment variables
|
|
|
|
- APP_ENV=prod
|
|
|
|
- APP_DEBUG=false
|
|
|
|
- HTTP_BASE_URL=http://hydra-saml
|
|
|
|
- COOKIE_PATH=/
|
|
|
|
- HYDRA_ADMIN_BASE_URL=http://hydra:4445/admin
|
|
|
|
- TRUSTED_PROXIES=127.0.0.1,REMOTE_ADDR
|
|
|
|
- LOGOUT_REDIRECT_URL_PATTERN=http://hydra-saml/Shibboleth.sso/Logout?return=%s'
|
|
|
|
# Shibboleth SP environment variables
|
|
|
|
- SP_ENTITY_ID=http://hydra-saml-shibboleth-sp
|
|
|
|
- IDP_ENTITY_ID=http://saml-idp
|
|
|
|
- IDP_METADATA_URL=http://saml-idp/metadata
|
|
|
|
- APACHE_BACKEND_URL=http://hydra-saml-remote-user
|
|
|
|
- APACHE_FORCE_HTTPS=false
|
|
|
|
- SP_HANDLER_BASE_PATH=/
|
|
|
|
|
|
|
|
patchesJson6902:
|
|
|
|
- target:
|
|
|
|
version: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
name: hydra-dispatcher-env
|
2023-07-27 10:49:42 +02:00
|
|
|
path: patches/hydra-dispatcher-env.yaml
|