From 7673f90db8d89258ea4b901e1d8ed94f9b2e9194 Mon Sep 17 00:00:00 2001 From: Anuj Chaudhari Date: Thu, 18 Jan 2024 14:21:05 -0800 Subject: [PATCH] Add KubeConfigBytes field for KubernetesDiscovery --- config/types/clientconfig_types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/types/clientconfig_types.go b/config/types/clientconfig_types.go index e5dbf1eb0..1bbfe17aa 100644 --- a/config/types/clientconfig_types.go +++ b/config/types/clientconfig_types.go @@ -260,6 +260,8 @@ type KubernetesDiscovery struct { Path string `json:"path,omitempty" yaml:"path,omitempty"` // The context to use (if required), defaults to current. Context string `json:"context,omitempty" yaml:"context,omitempty"` + // The bytes with the entire kube configuration + KubeConfigBytes []byte `json:"kubeConfigBytes,omitempty" yaml:"kubeConfigBytes,omitempty"` // Version of the CLIPlugins API to query. // E.g., v1alpha1 Version string `json:"version,omitempty" yaml:"version,omitempty"`