-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
None
-
False
-
Sprint 55
When the above setting is enabled (set to true), the operator generates the following error:
'istiod/templates/clusterrolebinding.yaml: an empty namespace may not be set when a resource name is provided'
The following smcp can be used to test:
apiVersion: maistra.io/v2 kind: ServiceMeshControlPlane metadata: name: istio-ingress namespace: openshift-istiod spec: security: manageNetworkPolicy: false policy: type: Istiod gateways: ingress: service: type: LoadBalancer ingress: true enabled: true addons: grafana: enabled: false kiali: enabled: false prometheus: enabled: false runtime: components: pilot: container: env: PILOT_ENABLE_GATEWAY_API: "true" PILOT_ENABLE_GATEWAY_API_STATUS: "true" PILOT_ENABLE_GATEWAY_API_DEPLOYMENT_CONTROLLER: "true" telemetry: type: Istiod version: v2.2
The issue is a missing namespace here: https://github.com/maistra/istio-operator/blob/maistra-2.2/resources/helm/v2.2/istio-control/istio-discovery/templates/clusterrolebinding.yaml#L23