Bug 2004814

Summary: (release-4.10) OCM controller - change type of the etc-pki-entitlement secret to opaque
Product: OpenShift Container Platform Reporter: Tomas Remes <tremes>
Component: Insights OperatorAssignee: Tomas Remes <tremes>
Status: CLOSED ERRATA QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.10CC: aos-bugs, inecas, mklika, tremes
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2005338 (view as bug list) Environment:
Last Closed: 2022-03-10 16:10:53 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: 2005338    

Description Tomas Remes 2021-09-16 06:05:54 UTC
The OCM controller in the Insights operator creates and updates the etc-pki-entitlement secret that was of type TLS. There was a decision to change the type of the secret to opaque and rename its attributes so that it can be easily consumed by the Build API.

Comment 2 Dmitry Misharov 2021-09-23 08:25:13 UTC
Verified on 4.10.0-0.nightly-2021-09-22-092155.
Verification steps:
1. Provision a cluster with an account that has OCM Controller feature enabled.
2. Enable TechPreview https://docs.openshift.com/container-platform/4.8/nodes/clusters/nodes-cluster-enabling-features.html.
3. Restart the Insights Operator.
4. Check "etc-pki-entitlement" secret in "openshift-config-managed" namespace.

Comment 5 errata-xmlrpc 2022-03-10 16:10:53 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 (Moderate: OpenShift Container Platform 4.10.3 security 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/RHSA-2022:0056