Bug 1909120

Summary: [OCP v47] Always update the default profilebundles on Compliance operator startup
Product: OpenShift Container Platform Reporter: Prashant Dhamdhere <pdhamdhe>
Component: Compliance OperatorAssignee: Juan Antonio Osorio <josorior>
Status: CLOSED ERRATA QA Contact: Prashant Dhamdhere <pdhamdhe>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: jhrozek, josorior, knewcome, mrogers, nkinder, xiyuan
Target Milestone: ---Keywords: UpcomingSprint
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:
: 1909122 (view as bug list) Environment:
Last Closed: 2021-02-24 19:45:20 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:
Bug Depends On:    
Bug Blocks: 1909122    

Description Prashant Dhamdhere 2020-12-18 11:56:17 UTC
Description of problem:

Always update the default profilebundles on Compliance operator startup so that
when the operator upgrade happens the default profilebundles deployment rolls 
out and restart the operator which will check the updated contents and 
contentImage reference.

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

4.7.0-0.nightly-2020-12-18-031435


How reproducible:

Always

Steps to Reproduce:

1. Deploy Compliance Operator
2. Check profilebundles deployment, contents and pods
3. Perform operator upgrade to the available version
4. Check profilebundles deployment, contents and pods
  

Actual results:
 
The default profilebundles deployment and contents are not getting updated when
the compliance operator upgrade gets performed.

Expected results:

The default profilebundles deployment, contents should get updated when the 
operator upgrade gets performed.
 
Additional info:

Comment 9 errata-xmlrpc 2021-02-24 19:45:20 UTC
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 (OpenShift Container Platform 4.7 compliance-operator image update), 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-2021:0435