--- apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: helm-aggregator namespace: argocd finalizers: - resources-finalizer.argocd.argoproj.io spec: project: helm-aggregator destination: server: https://kubernetes.default.svc namespace: automations-tools sources: - repoURL: https://git.avroid.tech/K8s/k8s-configs.git targetRevision: master ref: values - repoURL: https://actual-devops.github.io/helm-charts chart: "helm-aggregator" targetRevision: 0.1.0 helm: valueFiles: - $values/clusters/k8s-avroid-office.prod.local/namespaces/automations-tools/helm-aggregator/values.yaml syncPolicy: automated: prune: true selfHeal: true syncOptions: - ApplyOutOfSyncOnly=true - CreateNamespace=true --- apiVersion: argoproj.io/v1alpha1 kind: AppProject metadata: name: helm-aggregator namespace: argocd # Finalizer that ensures that project is not deleted until it is not referenced by any application finalizers: - resources-finalizer.argocd.argoproj.io spec: sourceRepos: - https://actual-devops.github.io/helm-charts - https://git.avroid.tech/K8s/k8s-configs.git # Only permit applications to deploy to the guestbook namespace in the same cluster destinations: - namespace: automations-tools server: https://kubernetes.default.svc # Deny all cluster-scoped resources from being created, except for Namespace clusterResourceWhitelist: - group: '' kind: Namespace