Skip to content

Missing XXX_Merge method due to gogo/protobuf removal in k8s.io/api v0.35.0 #1008

@Svarrogh1337

Description

@Svarrogh1337

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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions