KubeZero/charts/kubezero/templates/network.yaml

38 lines
705 B
YAML
Raw Normal View History

{{- define "network-values" }}
# since 1.23
cilium:
enabled: true
cluster:
2022-09-20 12:54:33 +00:00
name: {{ .Values.global.clusterName }}
{{- with .Values.network.cilium.cluster.id }}
id: {{ . }}
2022-09-20 12:54:33 +00:00
ipam:
operator:
clusterPoolIPv4PodCIDRList:
- 10.{{ . }}.0.0/16
{{- end }}
prometheus:
2022-09-20 12:54:33 +00:00
enabled: {{ .Values.metrics.enabled }}
{{- with index .Values "network" "metallb" }}
metallb:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- define "network-argo" }}
# Metallb
ignoreDifferences:
2022-09-15 11:05:38 +00:00
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
jsonPointers:
- /spec/conversion/webhook/clientConfig/caBundle
{{- end }}
{{ include "kubezero-app.app" . }}