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:
|
|
|
|
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" }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{ include "kubezero-app.app" . }}
|