- 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
40 lines
877 B
YAML
40 lines
877 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: code-server
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: default
|
|
|
|
sources:
|
|
- repoURL: https://github.com/coder/code-server.git
|
|
targetRevision: main
|
|
path: ci/helm-chart
|
|
helm:
|
|
valueFiles:
|
|
- $values/code-server/helm-values.yaml
|
|
- repoURL: https://gitea0213.kro.kr/bluemayne/applications.git
|
|
targetRevision: main
|
|
ref: values
|
|
- repoURL: https://gitea0213.kro.kr/bluemayne/applications.git
|
|
targetRevision: main
|
|
path: code-server
|
|
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: code-server
|
|
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
|
|
retry:
|
|
limit: 5
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m
|