KubeZero/charts/kubezero/templates/istio.yaml

58 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:
{{- if eq .Values.global.platform "aws" }}
nodeSelector:
node-role.kubernetes.io/control-plane: ""
tolerations:
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
{{- end }}
2024-01-29 14:02:50 +00:00
{{- if .Values.global.highAvailable }}
replicaCount: 2
2024-01-29 14:02:50 +00:00
{{- else }}
extraContainerArgs:
- --leader-elect=false
{{- 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" . }}