Skip to content

Commit

Permalink
fix annotations error
Browse files Browse the repository at this point in the history
Signed-off-by: helenxie-bit <[email protected]>
  • Loading branch information
helenxie-bit committed Sep 29, 2024
1 parent e468b27 commit 64d8fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/v1beta1/kubeflow/katib/api/katib_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand All @@ -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],
Expand Down

0 comments on commit 64d8fef

Please sign in to comment.