Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions pkg/kube/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ func GetConfig(kubeContext string, kubeConfigPath string) (*rest.Config, error)
return nil, err
}

// Suppress deprecation warnings from the Kubernetes API server
kubeConfig.WarningHandler = rest.NoWarnings{}

return kubeConfig, nil
}

Expand Down