apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: lakekeeper namespace: platform spec: goTemplate: true goTemplateOptions: ["missingkey=error"] generators: - list: # syncWave 0: 전용 cnpg-cluster DB 인스턴스 먼저 배포 # syncWave 1: lakekeeper 본체 (postgresql.enabled: false, 위 DB의 -rw/-r 서비스를 바라봄) elements: - name: lakekeeper-db chartPath: manifests/helm/cnpg-cluster/1.0.0 baseValues: custom-values.yaml valuesPath: lakekeeper/lakekeeper-db-values.yaml syncWave: "0" - name: lakekeeper chartPath: manifests/helm/lakekeeper/0.11.0 baseValues: custom-values.yaml valuesPath: lakekeeper/lakekeeper-values.yaml syncWave: "1" template: metadata: name: "{{ .name }}" namespace: platform annotations: argocd.argoproj.io/sync-wave: "{{ .syncWave }}" spec: project: default sources: - repoURL: https://gitea.example.org/dip/service-catalog targetRevision: master path: "{{ .chartPath }}" helm: releaseName: "{{ .name }}" valueFiles: - "{{ .baseValues }}" - $values/{{ .valuesPath }} - repoURL: https://gitea.example.org/dip/tenant-catalog targetRevision: master ref: values destination: server: https://kubernetes.default.svc namespace: lakekeeper syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true - ServerSideApply=true retry: limit: 5 backoff: duration: 10s factor: 2 maxDuration: 3m