From 05f9e4958ac2b5ef7babb85155a1b80baae5c135 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Mon, 5 Aug 2024 21:57:14 -0500 Subject: [PATCH] Add ArgoCD --- clusters/my-cluster/argocd/kustomization.yaml | 18 ++++++++++++++++++ clusters/my-cluster/argocd/namespace.yaml | 5 +++++ 2 files changed, 23 insertions(+) create mode 100644 clusters/my-cluster/argocd/kustomization.yaml create mode 100644 clusters/my-cluster/argocd/namespace.yaml diff --git a/clusters/my-cluster/argocd/kustomization.yaml b/clusters/my-cluster/argocd/kustomization.yaml new file mode 100644 index 0000000..35374ed --- /dev/null +++ b/clusters/my-cluster/argocd/kustomization.yaml @@ -0,0 +1,18 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +namespace: argocd +resources: + - namespace.yaml + - https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml +patches: + - patch: | + apiVersion: v1 + kind: Service + metadata: + name: argocd-server + spec: + type: LoadBalancer + target: + kind: Service + labelSelector: app.kubernetes.io/name=argocd-server diff --git a/clusters/my-cluster/argocd/namespace.yaml b/clusters/my-cluster/argocd/namespace.yaml new file mode 100644 index 0000000..42add95 --- /dev/null +++ b/clusters/my-cluster/argocd/namespace.yaml @@ -0,0 +1,5 @@ +--- +apiVersion: v1 +kind: Namespace +metadata: + name: argocd