ops(k8s): add argocd to argocd

This commit is contained in:
Kat Inskip 2024-01-17 16:10:19 -08:00
parent 01144518ce
commit 6fce029ff5
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
5 changed files with 30 additions and 5 deletions

View file

@ -7,9 +7,9 @@ spec:
destination:
namespace: default
name: in-cluster
project: default
project: system
source:
repoURL: 'https://github.com/gensokyo-zone/infrastructure'
repoURL: "https://github.com/gensokyo-zone/infrastructure"
path: k8s/system
targetRevision: main
syncPolicy:

View file

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd
namespace: argocd
spec:
project: system
source:
repoURL: "https://argoproj.github.io/argo-helm/"
targetRevision: v2.9.3
chart: argo-cd
helm:
valuesObject:
destination:
namespace: argocd
name: in-cluster
syncPolicy:
syncOptions:
- CreateNamespace=true
- ServerSideApply=true

View file

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml

View file

@ -6,12 +6,12 @@ metadata:
spec:
project: system
source:
repoURL: 'https://flannel-io.github.io/flannel/'
repoURL: "https://flannel-io.github.io/flannel/"
targetRevision: v0.24.x
chart: flannel
helm:
valuesObject:
podCidr: 10.42.0.0/16
chart: flannel
destination:
namespace: kube-flannel
name: in-cluster

View file

@ -3,3 +3,4 @@ kind: Kustomization
resources:
- project.yaml
- flannel
- argocd