This message occurs when a namespace specifies Istio sidecar auto-injection using both the new and legacy style labels.


You will receive this message:

Warning [IST0123] (Namespace busted) The namespace has both new and legacy injection labels. Run 'kubectl label namespace busted' or 'kubectl label namespace busted istio-injection-'

when your cluster has following namespace:

apiVersion: v1
kind: Namespace
  name: busted
    istio-injection: enabled canary

In this example, the namespace busted uses both old-style and new-style injection labels.

How to resolve

  • Remove the istio-injection label
  • Remove the label