apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: sonarqube namespace: argocd annotations: argocd.argoproj.io/sync-wave: "2" spec: project: default sources: - repoURL: https://SonarSource.github.io/helm-chart-sonarqube chart: sonarqube targetRevision: "10.6.0" # TODO: verify latest via `helm search repo sonarqube/sonarqube --versions` helm: valueFiles: - $values/platform/apps/sonarqube/values.yaml - repoURL: https://gitea.fireflylab.cc/duynguyen/cluster-platform.git targetRevision: main ref: values - repoURL: https://gitea.fireflylab.cc/duynguyen/cluster-platform.git targetRevision: main path: platform/apps/sonarqube directory: exclude: "{application.yaml,values.yaml}" destination: server: https://kubernetes.default.svc namespace: sonarqube syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true - SkipDryRunOnMissingResource=true