From 084cf53c2948e765b039d21ef64f84a81977f97d Mon Sep 17 00:00:00 2001 From: Scaleway Bot Date: Wed, 24 Aug 2022 17:33:42 +0200 Subject: [PATCH] feat(k8s): disallow setting Ingress or Dashboard (#1384) --- api/k8s/v1/k8s_sdk.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/k8s/v1/k8s_sdk.go b/api/k8s/v1/k8s_sdk.go index f575e2f80..821c06dac 100644 --- a/api/k8s/v1/k8s_sdk.go +++ b/api/k8s/v1/k8s_sdk.go @@ -1094,8 +1094,8 @@ type Version struct { Region scw.Region `json:"region"` // AvailableCnis: the supported Container Network Interface (CNI) plugins for this version AvailableCnis []CNI `json:"available_cnis"` - // AvailableIngresses: the supported Ingress Controllers for this version - AvailableIngresses []Ingress `json:"available_ingresses"` + // Deprecated: AvailableIngresses: the supported Ingress Controllers for this version + AvailableIngresses *[]Ingress `json:"available_ingresses,omitempty"` // AvailableContainerRuntimes: the supported container runtimes for this version AvailableContainerRuntimes []Runtime `json:"available_container_runtimes"` // AvailableFeatureGates: the supported feature gates for this version