2020-11-26 13:21:10 +00:00
|
|
|
{{- define "istio-values" }}
|
2024-08-09 10:45:27 +00:00
|
|
|
|
|
|
|
{{- if .Values.global.highAvailable }}
|
|
|
|
global:
|
|
|
|
defaultPodDisruptionBudget:
|
|
|
|
enabled: true
|
|
|
|
{{- if ne .Values.global.platform "gke" }}
|
2024-08-24 10:19:39 +00:00
|
|
|
priorityClassName: "system-cluster-critical"
|
2024-08-09 10:45:27 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|
2022-04-21 11:57:34 +00:00
|
|
|
istiod:
|
2021-04-26 15:19:11 +00:00
|
|
|
telemetry:
|
2022-04-21 11:57:34 +00:00
|
|
|
enabled: {{ $.Values.metrics.enabled }}
|
2020-11-26 13:21:10 +00:00
|
|
|
pilot:
|
2024-12-15 15:56:15 +00:00
|
|
|
{{- if eq .Values.global.platform "aws" }}
|
|
|
|
{{- include "kubezero-lib.control-plane" . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- if .Values.global.highAvailable }}
|
2021-04-16 11:41:31 +00:00
|
|
|
replicaCount: 2
|
2024-12-15 15:56:15 +00:00
|
|
|
{{- else }}
|
2024-01-29 14:02:50 +00:00
|
|
|
extraContainerArgs:
|
|
|
|
- --leader-elect=false
|
2024-12-15 15:56:15 +00:00
|
|
|
{{- end }}
|
2024-08-09 10:45:27 +00:00
|
|
|
|
2021-08-25 14:01:02 +00:00
|
|
|
{{- with index .Values "istio" "kiali-server" }}
|
|
|
|
kiali-server:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
2024-08-09 10:45:27 +00:00
|
|
|
|
2021-08-25 14:01:02 +00:00
|
|
|
{{- with .Values.istio.rateLimiting }}
|
|
|
|
rateLimiting:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
2020-11-26 13:21:10 +00:00
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{- define "istio-argo" }}
|
2020-07-15 17:15:18 +00:00
|
|
|
ignoreDifferences:
|
2020-07-15 17:13:23 +00:00
|
|
|
- group: apiextensions.k8s.io
|
|
|
|
kind: CustomResourceDefinition
|
|
|
|
jsonPointers:
|
|
|
|
- /metadata/labels
|
|
|
|
- /spec/additionalPrinterColumns
|
2020-07-22 15:18:00 +00:00
|
|
|
- group: admissionregistration.k8s.io
|
|
|
|
kind: ValidatingWebhookConfiguration
|
|
|
|
jsonPointers:
|
2020-07-22 15:28:27 +00:00
|
|
|
- /webhooks/0/failurePolicy
|
2021-08-25 14:01:02 +00:00
|
|
|
- /webhooks/1/failurePolicy
|
2021-07-15 11:54:49 +00:00
|
|
|
|
2020-07-14 16:39:12 +00:00
|
|
|
{{- end }}
|
2020-11-26 13:21:10 +00:00
|
|
|
|
|
|
|
{{ include "kubezero-app.app" . }}
|