24 lines
717 B
YAML
24 lines
717 B
YAML
{{- 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
|
|
spec:
|
|
project: kubezero
|
|
|
|
source:
|
|
repoURL: {{ default .Values.defaultSource.repoURL }}
|
|
targetRevision: {{ default .Values.defaultSource.targetRevision }}
|
|
path: {{ default .Values.defaultSource.pathPrefix }}artifacts/calico
|
|
|
|
destination:
|
|
server: {{ default .Values.defaultDestination.server }}
|
|
namespace: kube-system
|
|
{{- end }}
|