refactor: 구조 변경

This commit is contained in:
donghyeon-ka
2026-08-28 17:24:26 +09:00
parent a6f6c663e0
commit b8626946b1
192 changed files with 2251 additions and 206 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
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- control-plane-project.yaml
- root-application.yaml
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: project-gitops-control-plane
namespace: argocd
spec:
project: gitops-control-plane
source:
repoURL: https://git.learn.hyeonworks.com/donghyeon.kang/project-gitops
targetRevision: main
path: gitops/clusters/dev-k3s
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
enabled: true
prune: true
selfHeal: true
syncOptions:
- PruneLast=true
- FailOnSharedResource=true
revisionHistoryLimit: 10
+2
View File
@@ -0,0 +1,2 @@
ARGOCD_VERSION=v3.4.2
ARGOCD_INSTALL_SHA256=69114b8c9eb48a1d08598e6f654a0869b10ae902456ea4b70796cb563760f5ec