KubeZero/charts/kubezero/templates/network.yaml

66 lines
1.3 KiB
YAML
Raw Permalink Normal View History

{{- define "network-values" }}
multus:
enabled: true
clusterNetwork: "cilium"
2024-11-12 16:55:22 +00:00
# {{- if eq .Values.global.platform "aws" }}
# image:
# pullPolicy: Never
# {{- end }}
2024-10-16 11:20:20 +00:00
cilium:
enabled: true
2024-11-12 16:55:22 +00:00
# {{- if eq .Values.global.platform "aws" }}
# image:
# pullPolicy: Never
# {{- end }}
2024-10-16 11:20:20 +00:00
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" . }}