KubeZero/charts/kubezero-app/templates/calico.yaml

24 lines
717 B
YAML
Raw Normal View History

2020-05-01 13:57:31 +00:00
{{- if .Values.calico.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: calico
namespace: argocd
labels:
app.kubernetes.io/name: {{ .Chart.Name }}-calico
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: kubezero
2020-05-01 13:57:31 +00:00
spec:
project: kubezero
source:
2020-05-04 11:10:15 +00:00
repoURL: {{ default .Values.defaultSource.repoURL }}
targetRevision: {{ default .Values.defaultSource.targetRevision }}
2020-05-04 11:21:17 +00:00
path: {{ default .Values.defaultSource.pathPrefix }}artifacts/calico
2020-05-01 13:57:31 +00:00
destination:
2020-05-04 11:10:15 +00:00
server: {{ default .Values.defaultDestination.server }}
2020-05-01 13:57:31 +00:00
namespace: kube-system
{{- end }}