We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd5ec8c commit 5f85d3fCopy full SHA for 5f85d3f
1 file changed
pkg/kube/kube.go
@@ -90,6 +90,9 @@ func GetConfig(kubeContext string, kubeConfigPath string) (*rest.Config, error)
90
return nil, err
91
}
92
93
+ // Suppress deprecation warnings from the Kubernetes API server
94
+ kubeConfig.WarningHandler = rest.NoWarnings{}
95
+
96
return kubeConfig, nil
97
98
0 commit comments