kustomization.yaml 1.29 KB
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
  - ./service-account.yaml
  - ./pipeline-postgresql-transformer.yaml
  - ./task-postgresql-service.yaml
  - ./task-postgresql-create-databases-users.yaml
  - ./task-postgresql-import.yaml
  - ./task-postgresql-transformer.yaml
  - ./task-postgresql-export.yaml

configMapGenerator:
  - name: task-postgresql-service-kustomization
    options:
      disableNameSuffixHash: true
    files:
      - postgresql-service_kustomization.yaml=postgresql-service/kustomization.yaml
      - postgresql-service_postgresql-service.yaml=postgresql-service/postgresql-service.yaml
      - postgresql-service_set-deployment-config_deployment-config.env=postgresql-service/set-deployment-config/deployment-config.env
      - postgresql-service_set-deployment-config_kustomization.yaml=postgresql-service/set-deployment-config/kustomization.yaml

  - name: task-postgresql-confd
    options:
      disableNameSuffixHash: true
    files:
      - postgresql.conf.d/unsafe-fast.conf
  - name: task-postgresql-scripts
    options:
      disableNameSuffixHash: true
    files:
      - scripts/create-databases-users.sh
      - scripts/export-dumps.sh
      - scripts/import-dumps.sh
      - scripts/transformations.sh
      - scripts/wait-for-postgresql.sh

---