Skip to content

Conversation

NickLarsenNZ
Copy link
Member

@NickLarsenNZ NickLarsenNZ commented Nov 27, 2024

Part of stackabletech/issues#642.

Description

  • Pass through arguments to the #[kube] attribute:
    • status.
    • crates.
    • shortname.
  • Add support for overriding kube::core and k8s_openapi in generated code.
  • BREAKING: Remove the CustomResource derive.
    This is because we can't know whether they will use the one from the crate ::kube::CustomResource, via a re-export like we do in stackable operators.

@NickLarsenNZ NickLarsenNZ marked this pull request as ready for review November 28, 2024 10:23
Copy link
Member

@Techassi Techassi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The crate overrides need to be improved, but that will be tackled in a separate PR as discussed with @NickLarsenNZ.

@NickLarsenNZ NickLarsenNZ added this pull request to the merge queue Nov 28, 2024
Merged via the queue into main with commit 3790332 Nov 28, 2024
8 of 10 checks passed
@NickLarsenNZ NickLarsenNZ deleted the stackable-versioned-kube-attrs branch November 28, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants