KubeZero/charts/kubezero/templates/istio.yaml

54 lines
1.2 KiB
YAML
Raw Normal View History

2020-11-26 13:21:10 +00:00
{{- define "istio-values" }}
{{- if .Values.global.highAvailable }}
global:
defaultPodDisruptionBudget:
enabled: true
{{- if ne .Values.global.platform "gke" }}
priorityClassName: "system-cluster-critical"
{{- end }}
{{- end }}
istiod:
2021-04-26 15:19:11 +00:00
telemetry:
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 }}
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 }}
{{- with index .Values "istio" "kiali-server" }}
kiali-server:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- 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:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
jsonPointers:
- /metadata/labels
- /spec/additionalPrinterColumns
- group: admissionregistration.k8s.io
kind: ValidatingWebhookConfiguration
jsonPointers:
2020-07-22 15:28:27 +00:00
- /webhooks/0/failurePolicy
- /webhooks/1/failurePolicy
{{- end }}
2020-11-26 13:21:10 +00:00
{{ include "kubezero-app.app" . }}