Bug description
Kubernetes API Go types removed runtime use of gogo/protobuf. We have single occurance of the XXX_Merge method that's removed with this change:
.
How to reproduce
Build capsule-proxy with these depndencies:
k8s.io/api v0.35.0
k8s.io/apiextensions-apiserver v0.35.0
k8s.io/apimachinery v0.35.0
k8s.io/apiserver v0.35.0
k8s.io/client-go v0.35.0
k8s.io/component-base v0.35.0
Expected behavior
Build capsule-proxy successfully.
Logs
Error: failed to publish images: error building "ko://github.com/projectcapsule/capsule-proxy": build: go build: exit status 1: # github.com/projectcapsule/capsule-proxy/internal/authorization internal/authorization/middleware.go:60:9: rules.XXX_Merge undefined (type *"k8s.io/api/authorization/v1".SelfSubjectRulesReview has no field or method XXX_Merge)
Bug description
Kubernetes API Go types removed runtime use of gogo/protobuf. We have single occurance of the XXX_Merge method that's removed with this change:
capsule-proxy/internal/authorization/middleware.go
Line 60 in 8005171
How to reproduce
Build capsule-proxy with these depndencies:
Expected behavior
Build capsule-proxy successfully.
Logs
Error: failed to publish images: error building "ko://github.com/projectcapsule/capsule-proxy": build: go build: exit status 1: # github.com/projectcapsule/capsule-proxy/internal/authorization internal/authorization/middleware.go:60:9: rules.XXX_Merge undefined (type *"k8s.io/api/authorization/v1".SelfSubjectRulesReview has no field or method XXX_Merge)