diff --git a/apps/_app-of-apps.yaml b/apps/_app-of-apps.yaml new file mode 100644 index 0000000..5dd424e --- /dev/null +++ b/apps/_app-of-apps.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: enterprise-apps + namespace: argocd + labels: + app.kubernetes.io/name: enterprise-apps + app.kubernetes.io/part-of: enterprise +spec: + project: default + source: + repoURL: https://github.com/snothub/sturdy-adventure.git + path: apps + destination: + server: https://kubernetes.default.svc + namespace: apps + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/apps/feedback-hub.yaml b/apps/feedback-hub.yaml new file mode 100644 index 0000000..2f7c43a --- /dev/null +++ b/apps/feedback-hub.yaml @@ -0,0 +1,28 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: feedback-hub + namespace: argocd +spec: + project: default + source: + helm: + releaseName: feedback-hub + path: k8s/forte-feedback-hub + repoURL: https://github.com/fortedigital/purrfect-feedback-hub + targetRevision: feature/k8s + destination: + namespace: feedback-hub-dev + server: https://kubernetes.default.svc + syncPolicy: + automated: + prune: true + selfHeal: true + retry: + backoff: + duration: 5s + factor: 2 + maxDuration: 3m + limit: 5 + syncOptions: + - CreateNamespace=true diff --git a/infra/_app-of-apps.yaml b/infra/_app-of-apps.yaml index 5e084b0..a335448 100644 --- a/infra/_app-of-apps.yaml +++ b/infra/_app-of-apps.yaml @@ -4,7 +4,8 @@ metadata: name: infrastructure-apps namespace: argocd labels: - scope: infra + app.kubernetes.io/name: infrastructure-apps + app.kubernetes.io/part-of: platform spec: project: default source: