Browse Source

Use protobuf encoding in client-go

Signed-off-by: Maciej Borsz <maciejborsz@google.com>
pull/11353/head
Maciej Borsz 2 years ago
parent
commit
56eba3ace2
  1. 1
      discovery/kubernetes/kubernetes.go

1
discovery/kubernetes/kubernetes.go

@ -336,6 +336,7 @@ func New(l log.Logger, conf *SDConfig) (*Discovery, error) {
}
kcfg.UserAgent = userAgent
kcfg.ContentType = "application/vnd.kubernetes.protobuf"
c, err := kubernetes.NewForConfig(kcfg)
if err != nil {

Loading…
Cancel
Save