fix: move argocd to bootstrap and improve stuff

This commit is contained in:
2025-06-25 09:43:23 +02:00
parent a7b764898b
commit a1e8f957d9
326 changed files with 84 additions and 18 deletions
+30
View File
@@ -0,0 +1,30 @@
{{ if .Values.kubernetes_dashboard.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kubernetes-dashboard
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: kubernetes-dashboard
server: 'https://kubernetes.default.svc'
source:
path: aio/deploy/recommended
repoURL: https://github.com/kubernetes/dashboard
targetRevision: {{ .Values.kubernetes_dashboard.version }}
project: sys
syncPolicy:
managedNamespaceMetadata:
labels:
component: sys
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true
{{- if .Values.kubernetes_dashboard.autosync }}
automated:
prune: true
# selfHeal: false
{{ end }}
{{ end }}