44 lines
733 B
YAML
44 lines
733 B
YAML
{{- define "network-values" }}
|
|
|
|
# until 1.24
|
|
calico:
|
|
enabled: true
|
|
|
|
# since 1.22
|
|
multus:
|
|
enabled: true
|
|
defaultNetworks:
|
|
- "cilium"
|
|
|
|
# since 1.23
|
|
cilium:
|
|
enabled: true
|
|
|
|
cluster:
|
|
{{- with .Values.network.cilium.cluster.id }}
|
|
id: {{ . }}
|
|
{{- end }}
|
|
name: {{ $.Values.global.clusterName }}
|
|
|
|
prometheus:
|
|
enabled: {{ $.Values.metrics.enabled }}
|
|
|
|
{{- with index .Values "network" "metallb" }}
|
|
metallb:
|
|
{{- toYaml . | nindent 2 }}
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
{{- define "network-argo" }}
|
|
# Metallb
|
|
ignoreDifferences:
|
|
- group: apiextensions.k8s.io
|
|
kind: CustomResourceDefinition
|
|
jsonPointers:
|
|
- /spec/conversion/webhook/clientConfig/caBundle
|
|
{{- end }}
|
|
|
|
{{ include "kubezero-app.app" . }}
|