argo1/poop/argocd.yaml

19 lines
490 B
YAML
Raw Normal View History

2023-04-22 18:01:44 +00:00
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: "{{ .Release.Name }}"
namespace: "{{ .Release.Namespace }}"
spec:
project: default
source:
repoURL: "{{ .Chart.dependencies[0].repository }}"
targetRevision: "{{ .Chart.dependencies[0].version }}"
chart: "{{ .Chart.dependencies[0].name }}"
helm:
values: |
{{ .Values.argocd.values | nindent 12 }}
destination:
namespace: "{{ .Values.argocd.namespace }}"
name: in-cluster