diff --git a/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py b/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py index 5db30c13387..cb95b20f31b 100644 --- a/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py +++ b/sdk/python/v1beta1/kubeflow/katib/api/katib_client.py @@ -658,7 +658,7 @@ class name in this argument. worker_pod_template_spec = models.V1PodTemplateSpec( metadata=models.V1ObjectMeta( - annotations={constants.ISTIO_SIDECAR_INJECTION: "false"} + annotations={"sidecar.istio.io/inject": "false"} ), spec=models.V1PodSpec( containers=[container_spec], @@ -669,7 +669,7 @@ class name in this argument. master_pod_template_spec = models.V1PodTemplateSpec( metadata=models.V1ObjectMeta( - annotations={constants.ISTIO_SIDECAR_INJECTION: "false"} + annotations={"sidecar.istio.io/inject": "false"} ), spec=models.V1PodSpec( init_containers=[init_container_spec],