commit ca3ed4873705a46108d342e2f462c9e8eebe7281 Author: Karan Parashar Date: Fri Nov 28 23:15:28 2025 +0530 Initial boostrap diff --git a/bootstrap/argocd/kustomization.yaml b/bootstrap/argocd/kustomization.yaml new file mode 100644 index 0000000..c8efac9 --- /dev/null +++ b/bootstrap/argocd/kustomization.yaml @@ -0,0 +1,5 @@ +Version: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +resources: + - app.yaml diff --git a/bootstrap/argocd/root-app.yaml b/bootstrap/argocd/root-app.yaml new file mode 100644 index 0000000..b9c5476 --- /dev/null +++ b/bootstrap/argocd/root-app.yaml @@ -0,0 +1,18 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: root-app + namespace: argocd +spec: + project: default + source: + repoURL: https://gitea.whyredfire.tech/whyredfire/gitops + targetRevision: main + path: apps + destination: + server: https://kubernetes.default.svc + namespace: argocd + syncPolicy: + automated: + prune: true + selfHeal: true diff --git a/bootstrap/kustomization.yaml b/bootstrap/kustomization.yaml new file mode 100644 index 0000000..9799b56 --- /dev/null +++ b/bootstrap/kustomization.yaml @@ -0,0 +1,11 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: argocd + +resources: + - namespace.yaml + # ArgoCD installation + - https://raw.githubusercontent.com/argoproj/argo-cd/v3.2.0/manifests/install.yaml + # Bootstrap the app-of-apps + - argocd-apps diff --git a/bootstrap/namespace.yaml b/bootstrap/namespace.yaml new file mode 100644 index 0000000..a040f2b --- /dev/null +++ b/bootstrap/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: argocd