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

CSV with webhooks succeeds validation even when ports are not specified. Operator installation hence never succeeds. #1792

Closed
srinivasannanduri opened this issue Oct 5, 2020 · 1 comment · Fixed by #1835

Comments

@srinivasannanduri
Copy link

Bug Report

What did you do?
We tried installing an operator with webhooks using OLM from OperatorHub (Openshift). However, we missed specifying the ports in the CSV. The installation of operator succeeded with no errors in the Operator / Webhook containers / pods but the Operator installation never succeeded.

What did you expect to see?
Operator SDK fails during validation that the required elements / values are missing in the CSV

What did you see instead? Under which circumstances?
Installation of the operator went through but there is an error in OLM operator
[webhooks[0].clientConfig.service.port: Invalid value: 0: port is not valid: must be between 1 and 65535, inclusive,

Environment
v1.0.0

  • Kubernetes version information:

Kubernetes Version: v1.18.3+6c42de8

  • Kubernetes cluster kind:

Client Version: openshift-clients-4.5.0-202006231303.p0-4-gb66f2d3a6
Server Version: 4.5.8
Kubernetes Version: v1.18.3+6c42de8

Possible Solution

Additional context
Add any other context about the problem here.

@stale
Copy link

stale bot commented Dec 4, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Dec 4, 2020
@benluddy benluddy removed the wontfix label Dec 4, 2020
@benluddy benluddy closed this as completed Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants