kustomization.yaml
1017 Bytes
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./service-account.yaml
- ./task-postgresql-pod.yaml
- ./task-postgresql-create-databases-users.yaml
- ./task-postgresql-import.yaml
- ./task-postgresql-export.yaml
configMapGenerator:
- name: task-postgresql-pod-kustomization
options:
disableNameSuffixHash: true
files:
- postgresql-pod_kustomization.yaml=postgresql-pod/kustomization.yaml
- postgresql-pod_postgresql-pod.yaml=postgresql-pod/postgresql-pod.yaml
- postgresql-pod_set-deployment-config_deployment-config.env=postgresql-pod/set-deployment-config/deployment-config.env
- postgresql-pod_set-deployment-config_kustomization.yaml=postgresql-pod/set-deployment-config/kustomization.yaml
- name: task-postgresql-scripts
options:
disableNameSuffixHash: true
files:
- scripts/create-databases-users.sh
- scripts/export-dumps.sh
- scripts/import-dumps.sh
- scripts/wait-for-postgresql.sh
---