argocd/argo1/templates.back/argocd.yaml

19 lines
518 B
YAML
Raw Normal View History

2023-04-23 16:19:35 +00:00
---
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