Created attachment 1616959 [details] Sample Portworx CSV with "UpdateStrategy" added in specDescriptor. Portworx CSV with "UpdateStrategy" added in specDescriptor Description of problem: Apply "UpdateStrategy" Descriptor to Operator CSV for creating the CR it owns. The "UpdateStrategy" field on CR details view shows correctly but there's no way to get to the UI widget again to modify the configuration after creation on the CR details view. Version-Release number of selected component (if applicable): 4.2.0-0.ci-2019-09-19-102724 How reproducible: 100% reproducible with Portworx Operator (with its CSV added 'UpdateStrategy' Descriptor) Steps to Reproduce: 1. Install Portworx Operator from OperatorHub 2. On "Installed Operators" view, add "UpdateStrategy" descriptor to Portworx's CSV file under "specDescriptor" section (see attached CSV file: clusterserviceversion-portworx-operator.v1.0.5.yaml, as the example) 3. Create "StorageCluster" CR with "Edit Form" view 4. Select "Recreate" in "UpdateStrategy" widget/field in the creation form and "Create" 5. "UpdateStrategy" field on "StorageCluster" details view does set up correctly, but no way to get back to the UI widget for changing the configuration. Actual results: "UpdateStrategy" field on "StorageCluster" details view is rendered as text. Expected results: "UpdateStrategy" field should provide a way to get back to the UI widget. Additional info: Attached a sample Portworx CSV with "UpdateStrategy" added in specDescriptor.
Moving this out to 4.3 as this is not considered a release blocker.
1. cluster admin subscribe `Portworx Enterprise` operator from Operator Hub 2. After operator is created, go to Installed Operators -> Portworx Enterprise -> YAML tab -> update `specDescriptors` as following(Update Strategy is added) -> Save the yaml specDescriptors: - description: The docker image name and version of Portworx Enterprise. displayName: Image path: image - description: The update strategy of the deployment displayName: Update Strategy path: updateStrategy x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:updateStrategy' - description: >- It is the pull policy for the image. Takes one of Always, Never, IfNotPresent. Defaults to Always. displayName: Image Pull Policy path: imagePullPolicy 3. Go back to `StorageCluster` tab -> click `Create StorageCluster` button -> choose `Edit Form` view to create CR 4. Select "Recreate" in "UpdateStrategy" widget/field in the creation form and "Create" 5. After CR is created, goes to "StorageCluster" details view, `Update Strategy` shows Recreate correctly, click on the button it will open `Edit Update Strategy` modal, change it to `Rolling Update` and Save 6. CR Update Strategy can be successfully updated to `Rolling Update` Verified on 4.3.0-0.nightly-2019-10-24-004924
Created attachment 1628774 [details] UpdateStrategyModal
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0062