KubeZero/charts/kubezero/templates/network.yaml

57 lines
1.1 KiB
YAML
Raw Normal View History

{{- define "network-values" }}
multus:
enabled: true
clusterNetwork: "cilium"
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 }}
2023-05-02 10:07:08 +00:00
serviceMonitor:
enabled: {{ .Values.metrics.enabled }}
operator:
2024-04-25 15:36:09 +00:00
{{- if .Values.global.highAvailable }}
replicas: 2
{{- end }}
2023-05-02 10:07:08 +00:00
prometheus:
enabled: {{ .Values.metrics.enabled }}
serviceMonitor:
enabled: {{ .Values.metrics.enabled }}
2024-05-23 22:10:26 +00:00
{{- with .Values.network.metallb }}
metallb:
{{- toYaml . | nindent 2 }}
{{- end }}
2024-05-23 22:10:26 +00:00
{{- with .Values.network.haproxy }}
haproxy:
{{- 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" . }}