convert coredns to standalone application

This commit is contained in:
2024-08-16 16:53:26 -05:00
parent 6e33e5594e
commit 66cf5d3b47
3 changed files with 153 additions and 0 deletions

View File

@@ -36,6 +36,40 @@ spec:
- ServerSideApply=false
- PruneLast=true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: coredns
namespace: {{ .Release.Namespace }}
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: {{ .Values.git.repo }}
targetRevision: {{ .Values.git.revision }}
path: clusters/{{ .Values.cluster.name }}/standalone/coredns
destination:
name: in-cluster
namespace: kube-system
revisionHistoryLimit: 10
syncPolicy:
automated:
prune: true
selfHeal: false
retry:
limit: 10
backoff:
duration: 1m
factor: 2
maxDuration: 16m
syncOptions:
- CreateNamespace=false
- ApplyOutOfSyncOnly=true
- ServerSideApply=false
- PruneLast=true
---
apiVersion: argoproj.io/v1alpha1
kind: Application