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.
2 parents 7461a0d + 26d5a05 commit f387899Copy full SHA for f387899
cmd/csi-resizer/main.go
@@ -42,6 +42,7 @@ import (
42
"github.com/kubernetes-csi/external-resizer/pkg/util"
43
csitrans "k8s.io/csi-translation-lib"
44
45
+ "k8s.io/apimachinery/pkg/runtime"
46
"k8s.io/apimachinery/pkg/util/wait"
47
utilfeature "k8s.io/apiserver/pkg/util/feature"
48
"k8s.io/client-go/informers"
@@ -136,6 +137,7 @@ func main() {
136
137
138
config.QPS = float32(*kubeAPIQPS)
139
config.Burst = *kubeAPIBurst
140
+ config.ContentType = runtime.ContentTypeProtobuf
141
142
kubeClient, err := kubernetes.NewForConfig(config)
143
if err != nil {
0 commit comments