apiVersion: argoproj.io/v1alpha1 kind: ApplicationSet metadata: name: platform-secret-backed-addons namespace: argocd annotations: argocd.argoproj.io/sync-wave: "2" spec: goTemplate: true goTemplateOptions: ["missingkey=error"] generators: - list: elements: - name: monitoring namespace: monitoring chartRepo: https://prometheus-community.github.io/helm-charts chart: kube-prometheus-stack version: 85.2.0 valuesPath: platform/monitoring/values/main.yaml template: metadata: name: "{{.name}}" spec: project: platform sources: - repoURL: "{{.chartRepo}}" chart: "{{.chart}}" targetRevision: "{{.version}}" helm: valueFiles: - "$values/{{.valuesPath}}" - repoURL: https://git.dahyeon.us/dahyeon/platform-state.git targetRevision: main ref: values destination: server: https://kubernetes.default.svc namespace: "{{.namespace}}" syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true - ServerSideApply=true - SkipDryRunOnMissingResource=true