Removed argocd config in template

This commit is contained in:
2023-10-30 01:31:55 +01:00
parent cfff0bf9f0
commit 5d7d2bba01
4 changed files with 3 additions and 41 deletions
-25
View File
@@ -1,25 +0,0 @@
{{- define "template.application" -}}
{{- if .Values.argocd.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ include "template.fullname" . }}
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: {{ .Values.argocd.project }}
source:
repoURL: {{ .Values.argocd.repoURL }}
targetRevision: {{ .Values.argocd.targetRevision }}
{{- if .Values.argocd.pathInRepo }}
path: {{ .Values.argocd.pathInRepo }}
{{- end }}
{{- if .Values.argocd.chartName }}
chart: {{ .Values.argocd.chartName }}
{{- end }}
destination:
server: {{ .Values.argocd.targetCluster }}
namespace: {{ .Values.application.namespace }}
{{- end }}
{{- end }}