refactor(gitops): establish platform ownership boundaries

This commit is contained in:
donghyeon-ka
2026-07-26 01:34:29 +09:00
parent 293ee6fc97
commit a6f6c663e0
121 changed files with 2801 additions and 1204 deletions
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
name: gitops-control-plane
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: Prune=confirm,Delete=confirm
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
description: Bootstrap-only boundary for the project-gitops control plane
sourceRepos:
- https://git.learn.hyeonworks.com/donghyeon.kang/project-gitops
destinations:
- namespace: argocd
server: https://kubernetes.default.svc
namespaceResourceWhitelist:
- group: argoproj.io
kind: AppProject
- group: argoproj.io
kind: ApplicationSet
orphanedResources:
warn: true
+6
View File
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- control-plane-project.yaml
- root-application.yaml
+3 -3
View File
@@ -1,14 +1,14 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: project-gitops-dev-k3s
name: project-gitops-control-plane
namespace: argocd
spec:
project: default
project: gitops-control-plane
source:
repoURL: https://git.learn.hyeonworks.com/donghyeon.kang/project-gitops
targetRevision: main
path: clusters/dev-k3s
path: platform/control-plane/argocd
destination:
server: https://kubernetes.default.svc
namespace: argocd