2023-01-25 20:27:27 +01:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
kind: Kustomization
|
|
|
|
|
|
|
|
resources:
|
|
|
|
- ./resources/hydra-deployment.yaml
|
|
|
|
- ./resources/hydra-service.yaml
|
|
|
|
- ./resources/hydra-role.yaml
|
|
|
|
- ./resources/hydra-rolebinding.yaml
|
|
|
|
- ./resources/hydra-serviceaccount.yaml
|
|
|
|
- ./resources/hydra-migrate-job.yaml
|
|
|
|
|
|
|
|
secretGenerator:
|
|
|
|
- name: hydra-secret
|
|
|
|
literals:
|
|
|
|
- SECRETS_SYSTEM=ThisShouldBeAbsolutelyChanged
|
|
|
|
|
|
|
|
configMapGenerator:
|
|
|
|
- name: hydra-env
|
|
|
|
literals:
|
|
|
|
- URLS_SELF_ISSUER=http://localhost:4444
|
|
|
|
- URLS_LOGIN=http://hydra-login-app/login
|
|
|
|
- URLS_CONSENT=http://hydra-consent-app/consent
|
|
|
|
- URLS_LOGOUT=http://hydra-logout-app/logout
|
2023-01-30 16:15:39 +01:00
|
|
|
- HYDRA_SERVE_ALL_ARGS=
|
|
|
|
|
|
|
|
vars:
|
|
|
|
- name: HYDRA_MIGRATE_JOB_NAME
|
|
|
|
objref:
|
|
|
|
name: hydra-migrate
|
|
|
|
kind: Job
|
|
|
|
apiVersion: batch/v1
|
|
|
|
fieldref:
|
|
|
|
fieldpath: metadata.name
|