From 89e774a66f7fd07f4b68b6d9b2303d315885c862 Mon Sep 17 00:00:00 2001 From: Daniel Grimm Date: Tue, 2 Dec 2025 11:51:24 +0100 Subject: [PATCH] Change the directResponse.body.bytes format to `byte` According to our documentation, base64-encoded values should be used in this field, in which case `byte` is the correct format rather than `binary`. --- kubernetes/customresourcedefinitions.gen.yaml | 6 +++--- releasenotes/notes/58461.yaml | 9 +++++++++ 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/58461.yaml diff --git a/kubernetes/customresourcedefinitions.gen.yaml b/kubernetes/customresourcedefinitions.gen.yaml index 74be765fc5..9349214daa 100644 --- a/kubernetes/customresourcedefinitions.gen.yaml +++ b/kubernetes/customresourcedefinitions.gen.yaml @@ -10704,7 +10704,7 @@ spec: properties: bytes: description: response body as base64 encoded bytes. - format: binary + format: byte type: string string: type: string @@ -11756,7 +11756,7 @@ spec: properties: bytes: description: response body as base64 encoded bytes. - format: binary + format: byte type: string string: type: string @@ -12808,7 +12808,7 @@ spec: properties: bytes: description: response body as base64 encoded bytes. - format: binary + format: byte type: string string: type: string diff --git a/releasenotes/notes/58461.yaml b/releasenotes/notes/58461.yaml new file mode 100644 index 0000000000..75ed91df89 --- /dev/null +++ b/releasenotes/notes/58461.yaml @@ -0,0 +1,9 @@ +apiVersion: release-notes/v2 +kind: bug-fix +area: installation +issue: + - https://github.com/istio/istio/issues/58461 + +releaseNotes: + - | + **Fixed** warning when installing VirtualService CRD due to 'unrecognized format "binary"' by switching to `format: byte` for the field `spec.http.directResponse.body.bytes`. This does not impact user experience, as input is still expected in base64-encoded form as is already documented.