Bug 1871250

Summary: Installing a CSV with a Conversion Webhook generates Validating or Mutating Webhook
Product: OpenShift Container Platform Reporter: Alexander Greene <agreene>
Component: OLMAssignee: Alexander Greene <agreene>
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED DUPLICATE Docs Contact:
Severity: medium    
Priority: medium CC: bluddy, dageoffr, krizza
Version: 4.6   
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-22 16:27:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Greene 2020-08-21 18:32:26 UTC
Description of problem:
It is not possible to install a conversion webhook via a CSV without also installing a Validating or Mutating Webhook.

Version-Release number of selected component (if applicable):
4.6

How reproducible:
Always

Steps to Reproduce:
1. Install an Operator which specifies a Conversion Webhook
2. Check the installplan for a list of objects that were created.

Actual results:
A validating or mutating webhook is created.

Expected results:
Neither a validating or mutating webhook is created.

Additional info:

Comment 1 Alexander Greene 2020-09-22 16:27:12 UTC
This was fixed as a part of BZ #1872584 in this PR [1].

Ref:
[1] https://github.com/operator-framework/operator-lifecycle-manager/pull/1767

*** This bug has been marked as a duplicate of bug 1872584 ***