From 114385dc531d44c7575f2fa368cd2992dbace1b2 Mon Sep 17 00:00:00 2001 From: kevindiu Date: Thu, 29 Jun 2023 08:52:09 +0000 Subject: [PATCH] update charts Signed-off-by: kevindiu --- charts/vald-helm-operator/crds/valdrelease.yaml | 4 ++-- charts/vald/values.go | 4 ++-- charts/vald/values.schema.json | 4 ++-- charts/vald/values.yaml | 4 ++-- k8s/operator/helm/crds/valdrelease.yaml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/charts/vald-helm-operator/crds/valdrelease.yaml b/charts/vald-helm-operator/crds/valdrelease.yaml index 9f135ab791b..51fbfeb15c2 100644 --- a/charts/vald-helm-operator/crds/valdrelease.yaml +++ b/charts/vald-helm-operator/crds/valdrelease.yaml @@ -3748,11 +3748,11 @@ spec: distance_filters: type: array items: - type: string + type: object object_filters: type: array items: - type: string + type: object gateway_client: type: object properties: diff --git a/charts/vald/values.go b/charts/vald/values.go index 8d36f1ed2a3..429f5b08d0b 100644 --- a/charts/vald/values.go +++ b/charts/vald/values.go @@ -274,10 +274,10 @@ type EgressFilter struct { Client *config.GRPCClient `json:"client,omitempty"` // distance egress vector filter targets - DistanceFilters []string `json:"distance_filters,omitempty"` + DistanceFilters []config.DistanceFilterConfig `json:"distance_filters,omitempty"` // object egress vector filter targets - ObjectFilters []string `json:"object_filters,omitempty"` + ObjectFilters []config.ObjectFilterConfig `json:"object_filters,omitempty"` } // EnvItems diff --git a/charts/vald/values.schema.json b/charts/vald/values.schema.json index 88f4bd0b670..6a608995d4f 100644 --- a/charts/vald/values.schema.json +++ b/charts/vald/values.schema.json @@ -6139,12 +6139,12 @@ "distance_filters": { "type": "array", "description": "distance egress vector filter targets", - "items": { "type": "string" } + "items": { "type": "object" } }, "object_filters": { "type": "array", "description": "object egress vector filter targets", - "items": { "type": "string" } + "items": { "type": "object" } } } }, diff --git a/charts/vald/values.yaml b/charts/vald/values.yaml index 50e9c03ccea..e7d0e1aa495 100644 --- a/charts/vald/values.yaml +++ b/charts/vald/values.yaml @@ -1407,10 +1407,10 @@ gateway: # @schema {"name": "gateway.filter.gateway_config.egress_filter.client", "alias": "grpc.client"} # gateway.filter.gateway_config.egress_filter.client -- gRPC client config for egress filter (overrides defaults.grpc.client) client: {} - # @schema {"name": "gateway.filter.gateway_config.egress_filter.object_filters", "type": "array", "items": {"type": "string"}} + # @schema {"name": "gateway.filter.gateway_config.egress_filter.object_filters", "type": "array", "items": {"type": "object"}} # gateway.filter.gateway_config.egress_filter.object_filters -- object egress vector filter targets object_filters: [] - # @schema {"name": "gateway.filter.gateway_config.egress_filter.distance_filters", "type": "array", "items": {"type": "string"}} + # @schema {"name": "gateway.filter.gateway_config.egress_filter.distance_filters", "type": "array", "items": {"type": "object"}} # gateway.filter.gateway_config.egress_filter.distance_filters -- distance egress vector filter targets distance_filters: [] diff --git a/k8s/operator/helm/crds/valdrelease.yaml b/k8s/operator/helm/crds/valdrelease.yaml index 9f135ab791b..51fbfeb15c2 100644 --- a/k8s/operator/helm/crds/valdrelease.yaml +++ b/k8s/operator/helm/crds/valdrelease.yaml @@ -3748,11 +3748,11 @@ spec: distance_filters: type: array items: - type: string + type: object object_filters: type: array items: - type: string + type: object gateway_client: type: object properties: