2021-12-01 15:43:42 +00:00
|
|
|
{{- define "network-values" }}
|
|
|
|
|
2022-11-11 14:59:18 +00:00
|
|
|
multus:
|
|
|
|
enabled: true
|
|
|
|
clusterNetwork: "cilium"
|
|
|
|
|
2021-12-01 15:43:42 +00:00
|
|
|
cilium:
|
2022-09-20 11:50:19 +00:00
|
|
|
enabled: true
|
|
|
|
|
|
|
|
cluster:
|
2022-09-20 12:54:33 +00:00
|
|
|
name: {{ .Values.global.clusterName }}
|
2022-09-20 11:50:19 +00:00
|
|
|
{{- with .Values.network.cilium.cluster.id }}
|
|
|
|
id: {{ . }}
|
2022-09-20 12:54:33 +00:00
|
|
|
ipam:
|
|
|
|
operator:
|
|
|
|
clusterPoolIPv4PodCIDRList:
|
|
|
|
- 10.{{ . }}.0.0/16
|
2022-09-20 11:50:19 +00:00
|
|
|
{{- 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 }}
|
2022-09-20 11:50:19 +00:00
|
|
|
|
|
|
|
{{- with index .Values "network" "metallb" }}
|
|
|
|
metallb:
|
2021-12-01 15:43:42 +00:00
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{- define "network-argo" }}
|
2024-03-27 22:48:02 +00:00
|
|
|
# Metallb
|
|
|
|
ignoreDifferences:
|
|
|
|
- group: apiextensions.k8s.io
|
|
|
|
kind: CustomResourceDefinition
|
|
|
|
jsonPointers:
|
|
|
|
- /spec/conversion/webhook/clientConfig/caBundle
|
2021-12-01 15:43:42 +00:00
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{ include "kubezero-app.app" . }}
|