INIT(repo): cluster infrastructure setup

This commit is contained in:
2025-12-17 15:04:56 +09:00
commit 2a89801d5e
7 changed files with 232 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: external-secrets
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
sources:
# Helm chart from external repository
- repoURL: https://charts.external-secrets.io
chart: external-secrets
targetRevision: 0.10.5
helm:
valueFiles:
- $values/external-secrets/helm-values/external-secrets.yaml
# Values file from Git repository
- repoURL: https://gitea0213.kro.kr/bluemayne/infrastructure.git
targetRevision: main
ref: values
destination:
server: https://kubernetes.default.svc
namespace: external-secrets
syncPolicy:
automated:
prune: true
selfHeal: true
allowEmpty: false
syncOptions:
- CreateNamespace=true
- PrunePropagationPolicy=foreground
- PruneLast=true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m
revisionHistoryLimit: 10

View File

@@ -0,0 +1,40 @@
# External Secrets Operator Helm Values
# Chart: https://github.com/external-secrets/external-secrets
# 리소스 제한
resources:
requests:
cpu: 20m
memory: 64Mi
limits:
cpu: 200m
memory: 256Mi
# Webhook 설정
webhook:
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 100m
memory: 128Mi
# CertController 설정
certController:
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 100m
memory: 128Mi
# 동시 실행 제한
concurrent: 3
# 로그 레벨
logLevel: info
# CRD 자동 설치
installCRDs: true

View File

@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
# ArgoCD Application 리소스는 infrastructure/kustomization.yaml에서 관리
# - argocd/external-secrets.yaml