-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
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
Add gloo federation go types #106
Comments
Hi @amiramw , I believe the types you are referring to are defined here: FederatedUpstream:
FederatedVirtualService:
|
Those types don't seem to implement solo-apis/pkg/api/gloo.solo.io/v1/types.go Lines 49 to 55 in 81a712d
Also fed.rpc package is missing the
|
@sam-heilbron can you reopen this issue or should i create a new one? |
My mistake @amiramw and sorry for the delay in getting back to you. I'll re-open and we can re-prioritize within the team. |
I am experiencing the same problem trying to use |
Note, the |
Hi @benbooth493 and @amiramw , I believe this should be supported in a recent release of solo-apis: |
Hi @sam-heilbron with latest version everything seems to compile. However I get the following panic in my controller env test:
The panic comes from: Do you have any idea if there is something unexported on your side? |
Hi @amiramw This is actually due to changes around protobuf equality: golang/protobuf#1173 causing This work was resolved in our skv2 implementation of DeepEqual. Instead of relying on the controller-runtime CreateOrUpdate (https://github.com/kubernetes-sigs/controller-runtime/blob/master/pkg/controller/controllerutil/controllerutil.go#L195), could you uses Solo's implementation from the skv2 library: https://github.com/solo-io/skv2/blob/master/pkg/controllerutils/upsert.go#L25 |
thanks @sam-heilbron! From my side this issue can be closed. |
Thanks for the update @amiramw! |
There seems to be missing go types for gloo federation such as
FederatedUpstream
,FederatedVirtualService
, etc.They will make it easier operating gloo fed CRDs programmatically.
The text was updated successfully, but these errors were encountered: