File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cmd/kube-controller-manager/app Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import (
39
39
)
40
40
41
41
func startCSRSigningController (ctx ControllerContext ) (http.Handler , bool , error ) {
42
- gvr := schema.GroupVersionResource {Group : "certificates.k8s.io" , Version : "v1beta1 " , Resource : "certificatesigningrequests" }
42
+ gvr := schema.GroupVersionResource {Group : "certificates.k8s.io" , Version : "v1 " , Resource : "certificatesigningrequests" }
43
43
if ! ctx .AvailableResources [gvr ] {
44
44
klog .Warningf ("Resource %s is not available now" , gvr .String ())
45
45
return nil , false , nil
@@ -129,7 +129,7 @@ func getKubeletServingSignerFiles(config csrsigningconfig.CSRSigningControllerCo
129
129
}
130
130
131
131
func startCSRApprovingController (ctx ControllerContext ) (http.Handler , bool , error ) {
132
- gvr := schema.GroupVersionResource {Group : "certificates.k8s.io" , Version : "v1beta1 " , Resource : "certificatesigningrequests" }
132
+ gvr := schema.GroupVersionResource {Group : "certificates.k8s.io" , Version : "v1 " , Resource : "certificatesigningrequests" }
133
133
if ! ctx .AvailableResources [gvr ] {
134
134
klog .Warningf ("Resource %s is not available now" , gvr .String ())
135
135
return nil , false , nil
You can’t perform that action at this time.
0 commit comments