From 28a56330e9849c941f90e02aae721be94ef44196 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 20 Feb 2024 08:41:15 -0600 Subject: [PATCH] feat: add argo-events --- apps/components/argo-events.yaml | 16 ++++++++++++++++ apps/components/argocd-understack-project.yaml | 2 ++ apps/components/kustomization.yaml | 1 + components/12-argo-events/kustomization.yaml | 8 ++++++++ components/12-argo-events/namespace.yaml | 5 +++++ 5 files changed, 32 insertions(+) create mode 100644 apps/components/argo-events.yaml create mode 100644 components/12-argo-events/kustomization.yaml create mode 100644 components/12-argo-events/namespace.yaml diff --git a/apps/components/argo-events.yaml b/apps/components/argo-events.yaml new file mode 100644 index 00000000..e897c450 --- /dev/null +++ b/apps/components/argo-events.yaml @@ -0,0 +1,16 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argo-events +spec: + project: understack + source: + repoURL: https://github.com/rackerlabs/understack.git + path: components/12-argo-events/ + targetRevision: HEAD + destination: + server: "https://kubernetes.default.svc" + namespace: argo-events + syncPolicy: + automated: + selfHeal: true diff --git a/apps/components/argocd-understack-project.yaml b/apps/components/argocd-understack-project.yaml index 3c6678cd..21992f0a 100644 --- a/apps/components/argocd-understack-project.yaml +++ b/apps/components/argocd-understack-project.yaml @@ -14,6 +14,8 @@ spec: server: '*' - namespace: 'argo' server: '*' + - namespace: 'argo-events' + server: '*' clusterResourceWhitelist: - group: '*' kind: '*' diff --git a/apps/components/kustomization.yaml b/apps/components/kustomization.yaml index a50b3fc7..ef47c36b 100644 --- a/apps/components/kustomization.yaml +++ b/apps/components/kustomization.yaml @@ -14,3 +14,4 @@ resources: - nautobot.yaml - keystone.yaml - argo-workflows.yaml + - argo-events.yaml diff --git a/components/12-argo-events/kustomization.yaml b/components/12-argo-events/kustomization.yaml new file mode 100644 index 00000000..6f5a58b2 --- /dev/null +++ b/components/12-argo-events/kustomization.yaml @@ -0,0 +1,8 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - namespace.yaml + - https://github.com/argoproj/argo-events/releases/download/v1.9.1/namespace-install.yaml + - https://github.com/argoproj/argo-events/releases/download/v1.9.1/install-validating-webhook.yaml diff --git a/components/12-argo-events/namespace.yaml b/components/12-argo-events/namespace.yaml new file mode 100644 index 00000000..21266aef --- /dev/null +++ b/components/12-argo-events/namespace.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: argo-events