chore: bootstrap platform GitOps state

This commit is contained in:
dahyeon committed 2026-06-01 00:32:02 +09:00
commit a833be1d9e
40 files changed
+733

No files matched your search

@@ -0,0 +1,55 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: platform-core-addons
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "-5"
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- name: infisical-operator
namespace: infisical
chartRepo: https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/
chart: secrets-operator
version: 0.10.32
valuesPath: platform/infisical-operator/values/main.yaml
- name: cert-manager
namespace: cert-manager
chartRepo: https://charts.jetstack.io
chart: cert-manager
version: v1.20.2
valuesPath: platform/cert-manager/values/main.yaml
- name: haproxy-ingress
namespace: haproxy-controller
chartRepo: https://haproxytech.github.io/helm-charts
chart: kubernetes-ingress
version: 1.52.0
valuesPath: platform/haproxy-ingress/values/main.yaml
template:
metadata:
name: "{{.name}}"
spec:
project: platform
sources:
- repoURL: "{{.chartRepo}}"
chart: "{{.chart}}"
targetRevision: "{{.version}}"
helm:
valueFiles:
- "$values/{{.valuesPath}}"
- repoURL: https://git.dahyeon.us/dahyeon/platform-state.git
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
namespace: "{{.namespace}}"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
@@ -0,0 +1,34 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: platform-operators
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "3"
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- name: tekton-operator
namespace: tekton-operator
path: platform/tekton/operator
template:
metadata:
name: "{{.name}}"
spec:
project: platform
source:
repoURL: https://git.dahyeon.us/dahyeon/platform-state.git
targetRevision: main
path: "{{.path}}"
destination:
server: https://kubernetes.default.svc
namespace: "{{.namespace}}"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
@@ -0,0 +1,43 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: platform-secret-backed-addons
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- list:
elements:
- name: monitoring
namespace: monitoring
chartRepo: https://prometheus-community.github.io/helm-charts
chart: kube-prometheus-stack
version: 85.2.0
valuesPath: platform/monitoring/values/main.yaml
template:
metadata:
name: "{{.name}}"
spec:
project: platform
sources:
- repoURL: "{{.chartRepo}}"
chart: "{{.chart}}"
targetRevision: "{{.version}}"
helm:
valueFiles:
- "$values/{{.valuesPath}}"
- repoURL: https://git.dahyeon.us/dahyeon/platform-state.git
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
namespace: "{{.namespace}}"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
+31
View File
@@ -0,0 +1,31 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: services-prod
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "20"
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- git:
repoURL: https://git.dahyeon.us/dahyeon/service-state.git
revision: main
directories:
- path: apps/*/overlays/prod
template:
metadata:
name: "{{index .path.segments 1}}-prod"
spec:
project: services-prod
source:
repoURL: https://git.dahyeon.us/dahyeon/service-state.git
targetRevision: main
path: "{{.path.path}}"
destination:
server: https://kubernetes.default.svc
namespace: "{{index .path.segments 1}}-prod"
syncPolicy:
syncOptions:
- CreateNamespace=true
@@ -0,0 +1,34 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: services-staging
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: "10"
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- git:
repoURL: https://git.dahyeon.us/dahyeon/service-state.git
revision: main
directories:
- path: apps/*/overlays/staging
template:
metadata:
name: "{{index .path.segments 1}}-staging"
spec:
project: services-staging
source:
repoURL: https://git.dahyeon.us/dahyeon/service-state.git
targetRevision: main
path: "{{.path.path}}"
destination:
server: https://kubernetes.default.svc
namespace: "{{index .path.segments 1}}-staging"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true