mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 02:03:13 -05:00
Merge branch 'master' of github.com:coredns/coredns
This commit is contained in:
@@ -222,6 +222,9 @@ func (k *Kubernetes) getClientConfig() (*rest.Config, error) {
|
||||
clientConfig := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(loadingRules, overrides)
|
||||
|
||||
cc, err := clientConfig.ClientConfig()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
cc.ContentType = "application/vnd.kubernetes.protobuf"
|
||||
return cc, err
|
||||
|
||||
|
||||
Reference in New Issue
Block a user