KubeZero/charts/kubezero/templates/app.yaml

33 lines
807 B
YAML
Raw Normal View History

{{- if .Values.bootstrap }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kubezero
namespace: argocd
labels:
app.kubernetes.io/name: {{ .Chart.Name }}-argocd-application
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
spec:
project: kubezero
source:
repoURL: https://github.com/Zero-Down-Time/kubezero
targetRevision: HEAD
path: charts/kubezero-app
2020-05-04 11:10:15 +00:00
{{- if .Values.config }}
helm:
values: |
{{- toYaml .Values.config | nindent 8 }}
{{- end }}
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
automated:
2020-05-04 11:10:15 +00:00
prune: true
selfHeal: false
{{- end }}