{{- define "network-values" }} multus: enabled: true clusterNetwork: "cilium" {{- if eq .Values.global.platform "aws" }} image: pullPolicy: Never {{- end }} cilium: enabled: true {{- if eq .Values.global.platform "aws" }} image: pullPolicy: Never {{- end }} cluster: name: {{ .Values.global.clusterName }} {{- with .Values.network.cilium.cluster.id }} id: {{ . }} ipam: operator: clusterPoolIPv4PodCIDRList: - 10.{{ . }}.0.0/16 {{- end }} prometheus: enabled: {{ .Values.metrics.enabled }} serviceMonitor: enabled: {{ .Values.metrics.enabled }} operator: {{- if .Values.global.highAvailable }} replicas: 2 {{- end }} prometheus: enabled: {{ .Values.metrics.enabled }} serviceMonitor: enabled: {{ .Values.metrics.enabled }} {{- with .Values.network.metallb }} metallb: {{- toYaml . | nindent 2 }} {{- end }} {{- 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" . }}