From 7b84622fb605683d268af8ca8b531913287e4415 Mon Sep 17 00:00:00 2001 From: zackzhangkai Date: Fri, 7 May 2021 16:56:09 +0800 Subject: [PATCH] fix servicemesh crd Signed-off-by: zackzhangkai --- config/crds/servicemesh.kubesphere.io_strategies.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/crds/servicemesh.kubesphere.io_strategies.yaml b/config/crds/servicemesh.kubesphere.io_strategies.yaml index 0bc9a73f2..562e4326e 100644 --- a/config/crds/servicemesh.kubesphere.io_strategies.yaml +++ b/config/crds/servicemesh.kubesphere.io_strategies.yaml @@ -259,8 +259,10 @@ spec: additionalProperties: description: Describes how to match a given string in HTTP headers. Match is case-sensitive. type: object + x-kubernetes-preserve-unknown-fields: true description: "The header keys must be lowercase and use hyphen as the separator, e.g. _x-request-id_. \n Header values are case-sensitive and formatted as follows: \n - `exact: \"value\"` for exact string match \n - `prefix: \"value\"` for prefix-based match \n - `regex: \"value\"` for ECMAscript style regex-based match \n If the value is empty and only the name of header is specfied, presence of the header is checked. **Note:** The keys `uri`, `scheme`, `method`, and `authority` will be ignored." type: object + x-kubernetes-preserve-unknown-fields: true ignore_uri_case: description: "Flag to specify whether the URI matching should be case-insensitive. \n **Note:** The case will be ignored only in the case of `exact` and `prefix` URI matches." type: boolean