2021-12-01 15:43:42 +00:00
|
|
|
{{- define "network-values" }}
|
|
|
|
|
2022-09-20 11:50:19 +00:00
|
|
|
# since 1.23
|
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 }}
|
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" }}
|
2022-09-14 17:08:14 +00:00
|
|
|
# Metallb
|
|
|
|
ignoreDifferences:
|
2022-09-15 11:05:38 +00:00
|
|
|
- group: apiextensions.k8s.io
|
2022-09-14 17:08:14 +00:00
|
|
|
kind: CustomResourceDefinition
|
|
|
|
jsonPointers:
|
|
|
|
- /spec/conversion/webhook/clientConfig/caBundle
|
2021-12-01 15:43:42 +00:00
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{ include "kubezero-app.app" . }}
|