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

Bug: controller gen key words enum to Enum #2421

Open
lingdie opened this issue Feb 8, 2025 · 0 comments
Open

Bug: controller gen key words enum to Enum #2421

lingdie opened this issue Feb 8, 2025 · 0 comments

Comments

@lingdie
Copy link

lingdie commented Feb 8, 2025

code ref:

// +kubebuilder:validation:Required
// +kubebuilder:validation:enum=ingress;egress
Direction string `json:"direction"`

// +kubebuilder:validation:enum=IPv4;IPv6
// +optional
EtherType *string `json:"etherType,omitempty"`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Inbox
Development

No branches or pull requests

1 participant