2023-01-25 20:27:27 +01:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1alpha1
|
|
|
|
kind: Component
|
|
|
|
|
|
|
|
configurations:
|
2023-03-17 11:05:23 +01:00
|
|
|
- ./configurations/cnpg-cluster.yaml
|
2023-01-25 20:27:27 +01:00
|
|
|
|
|
|
|
resources:
|
2023-03-17 11:05:23 +01:00
|
|
|
- ./resources/hydra-cnpg-cluster.yaml
|
2024-09-26 09:50:54 +02:00
|
|
|
- ./resources/hydra-postgres-pooler-rw.yaml
|
2023-01-25 20:27:27 +01:00
|
|
|
|
2024-09-26 09:50:54 +02:00
|
|
|
#secretGenerator:
|
|
|
|
#- name: hydra-postgres-admin
|
|
|
|
# type: Secret
|
|
|
|
# literals:
|
|
|
|
# - username=postgres
|
|
|
|
# - password=NotSoSecret
|
|
|
|
#- name: hydra-postgres-user
|
|
|
|
# type: Secret
|
|
|
|
# literals:
|
|
|
|
# - username=hydra
|
|
|
|
# - password=NotSoSecret
|
2023-01-25 20:27:27 +01:00
|
|
|
|
2024-09-26 09:50:54 +02:00
|
|
|
#vars:
|
|
|
|
#- name: HYDRA_DATABASE_SERVICE_NAME
|
|
|
|
# objref:
|
|
|
|
# name: hydra-postgres
|
|
|
|
# kind: Cluster
|
|
|
|
# apiVersion: postgresql.cnpg.io/v1
|
|
|
|
# fieldref:
|
|
|
|
# fieldpath: metadata.name
|
2023-01-30 16:38:56 +01:00
|
|
|
|
2023-12-11 10:45:22 +01:00
|
|
|
patches:
|
2023-03-17 11:05:23 +01:00
|
|
|
- target:
|
|
|
|
group: apps
|
|
|
|
version: v1
|
|
|
|
kind: Deployment
|
|
|
|
name: hydra
|
|
|
|
path: patches/hydra-deployment.yaml
|
|
|
|
- target:
|
|
|
|
group: batch
|
|
|
|
version: v1
|
|
|
|
kind: Job
|
|
|
|
name: hydra-migrate
|
|
|
|
path: patches/hydra-migrate-job.yaml
|
2023-12-11 10:45:22 +01:00
|
|
|
- target:
|
|
|
|
group: batch
|
|
|
|
version: v1
|
|
|
|
kind: CronJob
|
|
|
|
name: hydra-janitor
|
|
|
|
path: patches/hydra-janitor-cronjob.yaml
|