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
Add kube-api-linter: https://github.com/kubernetes-sigs/kube-api-linter
## Fix
* Added the `// +kubebuilder:optional` marker to the `Conditions` field
in the status struct to comply with Kubernetes API conventions and pass
kube-apilinter validation.
* Removed the conflicting `+kubebuilder:required` marker.
* Kept `+kubebuilder:default:=xxx` and added the explicit
`+kubebuilder:optional` marker to comply with Kubebuilder validation
rules.
---------
Signed-off-by: dongjiang <dongjiang1989@126.com>
Co-authored-by: Eitan Yarmush <eitan.yarmush@solo.io>
0 commit comments