2023-01-25 20:27:27 +01:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
kind: Kustomization
|
|
|
|
|
2024-02-14 11:06:36 +01:00
|
|
|
images:
|
|
|
|
- name: reg.cadoles.com/proxy_cache/oryd/hydra
|
|
|
|
newTag: v2.1.2
|
2024-02-14 11:07:47 +01:00
|
|
|
- name: reg.cadoles.com/proxy_cache/oryd/hydra-maester
|
2024-02-14 11:30:54 +01:00
|
|
|
newTag: v0.0.32-amd64
|
2024-02-14 11:06:36 +01:00
|
|
|
|
2023-01-25 20:27:27 +01:00
|
|
|
resources:
|
2024-02-14 11:06:36 +01:00
|
|
|
- ./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
|
|
|
|
- ./resources/hydra-maester
|
|
|
|
- ./resources/hydra-janitor-cronjob.yaml
|
2023-01-25 20:27:27 +01:00
|
|
|
|
|
|
|
secretGenerator:
|
2024-02-14 11:06:36 +01:00
|
|
|
- name: hydra-secret
|
|
|
|
literals:
|
|
|
|
- SECRETS_SYSTEM=ThisShouldBeAbsolutelyChanged
|
2023-01-25 20:27:27 +01:00
|
|
|
|
|
|
|
configMapGenerator:
|
2024-02-14 11:06:36 +01:00
|
|
|
- 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
|
|
|
|
- HYDRA_SERVE_ALL_ARGS=--dev
|
|
|
|
- LOG_LEVEL=info
|
2023-01-30 16:15:39 +01:00
|
|
|
|
|
|
|
vars:
|
|
|
|
- name: HYDRA_MIGRATE_JOB_NAME
|
|
|
|
objref:
|
|
|
|
name: hydra-migrate
|
2024-02-14 11:06:36 +01:00
|
|
|
kind: Job
|
2023-01-30 16:15:39 +01:00
|
|
|
apiVersion: batch/v1
|
|
|
|
fieldref:
|
2024-02-14 11:06:36 +01:00
|
|
|
fieldpath: metadata.name
|