KubeZero/charts/kubezero/templates/istio.yaml

40 lines
840 B
YAML

{{- define "istio-values" }}
{{- if .Values.HighAvailableControlplane }}
global:
defaultPodDisruptionBudget:
enabled: true
istio-discovery:
pilot:
replicaCount: 2
telemetry:
enabled: {{ .Values.metrics.enabled }}
{{- end }}
{{- end }}
{{- define "istio-argo" }}
ignoreDifferences:
- group: apiextensions.k8s.io
kind: CustomResourceDefinition
jsonPointers:
- /metadata/labels
- /spec/additionalPrinterColumns
- group: admissionregistration.k8s.io
kind: ValidatingWebhookConfiguration
jsonPointers:
- /webhooks/0/clientConfig/caBundle
- /webhooks/0/failurePolicy
- group: admissionregistration.k8s.io
kind: MutatingWebhookConfiguration
jsonPointers:
- /webhooks/0/clientConfig/caBundle
- /webhooks/0/failurePolicy
{{- end }}
{{ include "kubezero-app.app" . }}