apiVersion: maistra.io/v1
kind: ServiceMeshControlPlane
spec:
  istio:
    global:
      tag: 1.0.0
      proxy:
        autoInject: disabled
        dnsRefreshRate: 300s
      oauthproxy:
        tag: 4.1
        imagePullPolicy: IfNotPresent
    pilot:
      env:
        GODEBUG: null
    mixer:
      telemetry:
        resources:
          requests:
            cpu: 100m
            memory: 1G
          limits:
            cpu: 500m
            memory: 4G
      env:
        GODEBUG: null
    grafana:
      enabled: true
      ingress:
        enabled: true
      service:
        annotations:
           service.alpha.openshift.io/serving-cert-secret-name: grafana-tls
    tracing:
      enabled: true
      ingress:
        enabled: true
    kiali:
      enabled: true
      dashboard:
        viewOnlyMode: false
      ingress:
        enabled: true
    sidecarInjectorWebhook:
      enableNamespacesByDefault: true
    gateways:
      istio-egressgateway:
        enabled: true
      istio-ingressgateway:
        enabled: true
        type: ClusterIP
    prometheus:
     service:
      annotations:
        service.alpha.openshift.io/serving-cert-secret-name: prometheus-tls
     ingress:
        enabled: true
  threeScale: {}
