--- apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: "{{ .Release.Name }}" namespace: "{{ .Release.Namespace }}" spec: project: default source: repoURL: "{{ (index .Chart.Dependencies 0).Repository }}" targetRevision: "{{ (index .Chart.Dependencies 0).Version }}" chart: "{{ (index .Chart.Dependencies 0).Name }}" helm: values: | {{ (index .Values "argo-cd") | toYaml | nindent 12 }} destination: namespace: "{{ .Release.Namespace }}" name: in-cluster