apiVersion: kustomize.config.k8s.io/v1alpha1 kind: Component configurations: - ./configurations/cnpg-cluster.yaml resources: - ./resources/hydra-cnpg-cluster.yaml - ./resources/hydra-postgres-pooler-rw.yaml patches: - 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 - target: group: batch version: v1 kind: CronJob name: hydra-janitor path: patches/hydra-janitor-cronjob.yaml