57 lines
1.1 KiB
YAML
57 lines
1.1 KiB
YAML
{{- define "network-values" }}
|
|
|
|
multus:
|
|
enabled: true
|
|
clusterNetwork: "cilium"
|
|
|
|
cilium:
|
|
enabled: true
|
|
|
|
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" . }}
|