convert coredns to standalone application
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user