apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - firefly-db-secrets.yaml - ../../../infrastructure/modules/postgres-app namespace: pg-databases configMapGenerator: - name: postgres-app-config literals: - APP_SECRET_NAME=firefly-db-secrets patches: - target: kind: Job name: postgres-init patch: | - op: replace path: /metadata/name value: postgres-init-firefly