36 lines
818 B
YAML
36 lines
818 B
YAML
# {{ if (index .Values "istiod").enabled }}
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: "{{ .Release.Name }}-istiod"
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: default
|
|
source:
|
|
chart: istiod
|
|
repoURL: https://istio-release.storage.googleapis.com/charts
|
|
targetRevision: 1.18.1
|
|
helm:
|
|
values: |-
|
|
{{ (index .Values "istiod").values | default "{}" | nindent 8 }}
|
|
releaseName: istiod
|
|
destination:
|
|
server: "https://kubernetes.default.svc"
|
|
namespace: istio-system
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
retry:
|
|
limit: 10
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m0s
|
|
# {{- end }}
|