You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a list called conditions, and on this list I want to set x-kubernetes-list-type and x-kubernetes-list-map-keys. Is there any way to expand the generated CRD with this?
Model used:
public class V1Status
{
[Description("Conditions represent the current status of the external resource")]
[JsonPropertyName("conditions")]
public List<V1Condition> Conditions { get; set; } = new();
}
public class V1Condition
{
[Required]
[Description("Type of condition (e.g., Ready, Available).")]
[JsonPropertyName("type")]
public string Type { get; set; } = string.Empty;
// Other props
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have a list called
conditions
, and on this list I want to setx-kubernetes-list-type
andx-kubernetes-list-map-keys
. Is there any way to expand the generated CRD with this?Model used:
Wanted generated yaml:
Beta Was this translation helpful? Give feedback.
All reactions