2023-02-01 16:18:47 +01:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
|
|
kind: Component
|
|
|
|
|
|
|
|
resources:
|
2023-11-02 18:32:37 +01:00
|
|
|
- ./resources/hydra-saml-shibboleth-sp.yaml
|
|
|
|
- ./resources/hydra-saml-remote-user.yaml
|
2023-02-01 16:18:47 +01:00
|
|
|
|
|
|
|
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'
|
2023-11-02 18:32:37 +01:00
|
|
|
- PATH_PREFIX=
|
2023-02-01 16:18:47 +01:00
|
|
|
# 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=/
|
|
|
|
- name: hydra-dispatcher-apps
|
|
|
|
behavior: merge
|
|
|
|
files:
|
|
|
|
- ./files/hydra/saml.yaml
|
2023-11-02 18:32:37 +01:00
|
|
|
- name: hydra-saml-shibboleth-sp
|
|
|
|
files:
|
|
|
|
- ./files/shibboleth-sp/attribute-map.inc.xml
|
2023-02-01 16:18:47 +01:00
|
|
|
|
|
|
|
patchesJson6902:
|
|
|
|
- target:
|
|
|
|
version: v1
|
|
|
|
kind: ConfigMap
|
|
|
|
name: hydra-dispatcher-env
|
2023-07-27 10:49:42 +02:00
|
|
|
path: patches/hydra-dispatcher-env.yaml
|