diff --git a/kubernetes/config/incluster_config.go b/kubernetes/config/incluster_config.go index dc92df6..ad6158c 100644 --- a/kubernetes/config/incluster_config.go +++ b/kubernetes/config/incluster_config.go @@ -67,7 +67,7 @@ func InClusterConfig() (*client.Configuration, error) { BasePath: "https://" + net.JoinHostPort(host, port), Host: net.JoinHostPort(host, port), Scheme: "https", - DefaultHeader: map[string]string{"Authentication": "Bearer " + string(token)}, + DefaultHeader: map[string]string{"Authorization": "Bearer " + string(token)}, UserAgent: defaultUserAgent, HTTPClient: c, }, nil