Closed tarvitz closed 1 year ago
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
Just in case very straightforward fix: https://github.com/tarvitz/code-generator/commit/55d383e79771c0cbe08257242c3d428528c2b59a (I have no doubts that it should not be done like this but at least it works).
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
/reopen
@muff1nman: You can't reopen an issue/PR unless you authored it or you are a collaborator.
Well, I guess nothing have changed since the initial report message. The issue is still in there (tested over 1.28.5).
I'm still ok with using a dirty hack with package name replacing, it works :).
I'm using API Aggregation over sample-apiserver extension with
go.company.name.net/k8s/api-server
package name. Running go-to-protobuf works well, but it creates the following generated.proto code:I've managed a workaround way to fix it using one of the following ways:
optional k8s.io...
withoptional .k8s.io...
package go.company.name.net.k8s.api_server.pkg.apis.ksm.v1alpha1;
withpackage go.company.name.net._k8s.api_server.pkg.apis.ksm.v1alpha1;
Still those variants don't work well, because the following generation chain is broken (so I've just made a replacement for package in a generator code itself to enforce it generate
_k8s
for my package).P.S. non k8s related packages which does not even use k8s dependencies works nicely with the tool ;)