Skip to content
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

Teleport Kubernetes Operator supports Bot resource #40226

Conversation

carloscastrojumo
Copy link
Contributor

Resolves #34285

As spoken with @hugoShaka and @strideynet, there seems to be an issue upstream (kubernetes/kubernetes#124154) when converting the CRD object into non exported fields, in this case some fields in BotSpec that were generated by protobuf.

The solution that I did temporarily to unlock my use case, was to convert the BotSpec struct from the TeleportBot, however this is not the ideal solution as it requires to maintain both structs. Im creating this PR so we can discuss as well a better alternative or just wait for the upstream issue.

@strideynet
Copy link
Contributor

strideynet commented Apr 5, 2024

So I think the biggest concern w/ this strategy is just ensuring that when we do generate this from the Proto, that it will result in a compatible struct to this handwritten one - that's the only thing in my mind that would prevent us moving forward with a workaround like this.

@carloscastrojumo
Copy link
Contributor Author

Hey @strideynet and @hugoShaka . The upstream issue (kubernetes/kubernetes#124154) still have no reply back from the team, so I'm bumping this again to check if you have any solution that we can implement here, or if we should implement my solution for now as I think this is a nice feature to have. Thanks

@marcoandredinis marcoandredinis removed their request for review May 23, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Teleport Kubernetes Operator supports Bot resource
2 participants