We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It has two issues, related to kubernetes/code-generator#167 kubernetes/kubernetes#125162
If fails while consuming in downstrean projects due to go tooling not tolerating links on imports:
frr-k8s/pkg/client/clientset/versioned/scheme/register.go
Line 8 in 8787023
corev1beta1 "github.com/metallb/frr-k8s/api/v1beta1"
would work
Fixed by adding
find pkg/client/ -type f -name "*.go" -print0 | xargs -0 sed -i 's|"github.com\/metallb\/frr-k8s\/core\/|"github.com/metallb/frr-k8s/api/|g'
at the end of update-codegen.sh
update-codegen.sh
The generated client uses api instead of apis in the URL path and requests fail.
api
apis
find pkg/client/ -type f -name "*.go" -print0 | xargs -0 sed -i 's|config.APIPath = "/api"|config.APIPath = "/apis"|g'
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
It has two issues, related to
kubernetes/code-generator#167
kubernetes/kubernetes#125162
Issue 1
If fails while consuming in downstrean projects due to go tooling not tolerating links on imports:
frr-k8s/pkg/client/clientset/versioned/scheme/register.go
Line 8 in 8787023
does not work while
would work
Fixed by adding
at the end of
update-codegen.sh
Issue 2
The generated client uses
api
instead ofapis
in the URL path and requests fail.Fixed by adding
at the end of
update-codegen.sh
The text was updated successfully, but these errors were encountered: