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

Add priority range in SecurityPolicy definition #45

Merged
merged 1 commit into from
Feb 9, 2022

Conversation

dantingl
Copy link
Contributor

No description provided.

Copy link
Contributor

@heypnus heypnus left a comment

Choose a reason for hiding this comment

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

I think you should add

// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=1000

into securitypolicy_types.go instead of directly modifying the yaml file because this file is generated by make manifests. refer to https://book.kubebuilder.io/reference/markers/crd-validation.html

@dantingl dantingl force-pushed the priority branch 2 times, most recently from 0851db1 to 5d7aa3a Compare February 9, 2022 02:12
@dantingl dantingl merged commit 037a2d3 into vmware-tanzu:main Feb 9, 2022
@dantingl dantingl deleted the priority branch February 9, 2022 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants