apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - cluster.yaml configMapGenerator: - name: postgresql-init files: - init.sql=init/init.sql ##Sync wave -1 → ConfigMap postgresql-init ##Sync wave 0 → Cluster postgresql-prod generatorOptions: annotations: argocd.argoproj.io/sync-wave: "-1"