2020-11-26 05:21:10 -08:00
|
|
|
{{- define "istio-values" }}
|
2024-08-09 11:45:27 +01: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 11:45:27 +01:00
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|
2022-04-21 13:57:34 +02:00
|
|
|
istiod:
|
2021-04-26 17:19:11 +02:00
|
|
|
telemetry:
|
2022-04-21 13:57:34 +02:00
|
|
|
enabled: {{ $.Values.metrics.enabled }}
|
2020-11-26 05:21:10 -08: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 13:41:31 +02: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 11:45:27 +01:00
|
|
|
|
2021-08-25 16:01:02 +02:00
|
|
|
{{- with index .Values "istio" "kiali-server" }}
|
|
|
|
kiali-server:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
2024-08-09 11:45:27 +01:00
|
|
|
|
2021-08-25 16:01:02 +02:00
|
|
|
{{- with .Values.istio.rateLimiting }}
|
|
|
|
rateLimiting:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
2020-11-26 05:21:10 -08:00
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{- define "istio-argo" }}
|
2020-07-15 18:15:18 +01:00
|
|
|
ignoreDifferences:
|
2020-07-15 18:13:23 +01:00
|
|
|
- group: apiextensions.k8s.io
|
|
|
|
kind: CustomResourceDefinition
|
|
|
|
jsonPointers:
|
|
|
|
- /metadata/labels
|
|
|
|
- /spec/additionalPrinterColumns
|
2020-07-22 16:18:00 +01:00
|
|
|
- group: admissionregistration.k8s.io
|
|
|
|
kind: ValidatingWebhookConfiguration
|
|
|
|
jsonPointers:
|
2020-07-22 16:28:27 +01:00
|
|
|
- /webhooks/0/failurePolicy
|
2021-08-25 16:01:02 +02:00
|
|
|
- /webhooks/1/failurePolicy
|
2021-07-15 13:54:49 +02:00
|
|
|
|
2020-07-14 17:39:12 +01:00
|
|
|
{{- end }}
|
2020-11-26 05:21:10 -08:00
|
|
|
|
|
|
|
{{ include "kubezero-app.app" . }}
|