Skip to content

Generating CRD specifications with kube-derive without default values #1678

Answered by clux
fjammes asked this question in Q&A
Discussion options

You must be logged in to vote

Looking at your proposed PR upstream https://github.com/stackabletech/hdfs-operator/pull/639/files it seems you want to remove empty values rather than omit the fields in general. If we insert explicit empty vectors into optional vectors even if we do not set (e.g.) #[kube(category...)] then that is actually a bug on our side.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@clux
Comment options

clux Jan 23, 2025
Maintainer

@fjammes
Comment options

Answer selected by fjammes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants