REFACTOR(repo): restructure apps folder and remove CreateNamespace
- Remove argocd/ and helm-values/ subdirectories - Move files to parent directory (argocd.yaml, helm-values.yaml) - Update helm valueFiles paths in ArgoCD Applications - Remove CreateNamespace=true from all applications - Namespace creation now handled by namespace.yaml with Goldilocks labels
This commit is contained in:
@@ -14,7 +14,7 @@ spec:
|
|||||||
path: ci/helm-chart
|
path: ci/helm-chart
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/code-server/helm-values/code-server.yaml
|
- $values/code-server/helm-values.yaml
|
||||||
- repoURL: https://gitea0213.kro.kr/bluemayne/applications.git
|
- repoURL: https://gitea0213.kro.kr/bluemayne/applications.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
@@ -30,8 +30,7 @@ spec:
|
|||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
retry:
|
retry:
|
||||||
limit: 5
|
limit: 5
|
||||||
backoff:
|
backoff:
|
||||||
@@ -24,7 +24,6 @@ spec:
|
|||||||
allowEmpty: false
|
allowEmpty: false
|
||||||
|
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
|
||||||
- PrunePropagationPolicy=foreground
|
- PrunePropagationPolicy=foreground
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
|
|
||||||
@@ -15,7 +15,7 @@ spec:
|
|||||||
targetRevision: 12.4.0
|
targetRevision: 12.4.0
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/gitea/helm-values/gitea.yaml
|
- $values/gitea/helm-values.yaml
|
||||||
# Values file from applications repository
|
# Values file from applications repository
|
||||||
- repoURL: https://gitea0213.kro.kr/bluemayne/applications.git
|
- repoURL: https://gitea0213.kro.kr/bluemayne/applications.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
@@ -36,7 +36,6 @@ spec:
|
|||||||
allowEmpty: false
|
allowEmpty: false
|
||||||
|
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
|
||||||
- PrunePropagationPolicy=foreground
|
- PrunePropagationPolicy=foreground
|
||||||
- PruneLast=true
|
- PruneLast=true
|
||||||
|
|
||||||
@@ -2,10 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
# ArgoCD Application (주석 처리: circular dependency 방지)
|
|
||||||
# - argocd/gitea.yaml
|
|
||||||
# Gitea Application은 수동으로 적용: kubectl apply -f gitea/argocd/gitea.yaml
|
|
||||||
|
|
||||||
# Namespace with Goldilocks label
|
# Namespace with Goldilocks label
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,7 @@ spec:
|
|||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
retry:
|
retry:
|
||||||
limit: 5
|
limit: 5
|
||||||
backoff:
|
backoff:
|
||||||
@@ -14,7 +14,7 @@ spec:
|
|||||||
targetRevision: 6.0.1
|
targetRevision: 6.0.1
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/umami/helm-values/umami.yaml
|
- $values/umami/helm-values.yaml
|
||||||
- repoURL: https://gitea0213.kro.kr/bluemayne/applications.git
|
- repoURL: https://gitea0213.kro.kr/bluemayne/applications.git
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
ref: values
|
ref: values
|
||||||
@@ -40,8 +40,7 @@ spec:
|
|||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
retry:
|
retry:
|
||||||
limit: 5
|
limit: 5
|
||||||
backoff:
|
backoff:
|
||||||
Reference in New Issue
Block a user