kustomization.yaml 572 Bytes
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
  - ./config.yaml
  - ./postgresql-server.yaml

generatorOptions:
  disableNameSuffixHash: true
configMapGenerator:
  - name: postgresql-scripts
    files:
      - ./scripts/wait-for-file
      - ./scripts/restore-from-empty
      - ./scripts/bitnami-postgresql-entrypoint-container.sh
      - ./scripts/bitnami-postgresql-entrypoint-initContainer.sh
      - ./scripts/bitnami-create-extra-users.sh
  - name: postgresql-preinit-scripts
    files:
      - ./scripts/bitnami-create-extra-users.sh