Replies: 1 comment
-
After some more digging, I think I #129 and the discussions that this spun off around structural enums might be relevant. In the case I mentioned above the API Server would have to know the runtime value of I would love for someone that's more well-versed in this than me to confirm. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to generate a CRD that requires a list of items that are union members.
I want to be able to write the following manifest:
In this case, the schema for
actionConfiguration
depends on the value ofactionType
which serves as a discriminator.Using the code below,
RunPlaybookAction
,AddIncidentTagAction
andModifyPropertiesAction
becomes a top-level property for each item inactions
.Is the use case I want to achieve supported, or can someone point me in the right direction?
Beta Was this translation helpful? Give feedback.
All reactions