-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
(/api bump) bundle validate does not fail on invalid env in deployment spec #5888
Comments
I think that is definitely something that we need to do. Would you like to contribute with? c/c @ryantking |
Once issue operator-framework/api#248 is merged, we should bump to that version in operator-sdk to complete this ticket. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Bug Report
Given a CSV yaml with the following spec
operator-sdk bundle validate
is successful, despite {name. image} not being a validenv
spec in Deployment.it should be {name, value}.
What did you expect to see?
validation to fail on
What did you see instead? Under which circumstances?
INFO[0000] All validation tests have completed successfully
Environment
N/A
$ operator-sdk version
v1.21.0
$ go version
(if language is Go)go1.18.3
$ kubectl version
v1.20.1-5-g76a04fc
Possible Solution
validate each of the nested
deployments
in CSV, as a k8s deployment object. throw the underlying error (if any) to the validation output.The text was updated successfully, but these errors were encountered: