Entitled builds and OpenShift 4¶
What is an entitlement¶
Technically, the entitlement is a certificate to get access to specific Red Hat Enterprise Linux content and has to be refreshed regularly. Red Hat introduced Simple Content Access to simplify the access, for example for container builds.
With openssl
or rct
command you can get some information from your entitlement:
How to get the entitlement certificate? If simple content access is enabled at your organisation/redhat account, the insights Operatos automatically provide and refresh and entitlement to your OpenShift 4 Cluster.
You can enable and check the Simple content access at https://access.redhat.com/management, it should look like this:
At your OpenShift 4 Cluster you can take a look your entitlement via:
Relevant documentation part: Importing simple content access certificates with Insights Operator
Another option to get an entitlement from your Red Hat Satellite installation in your environment. Or copy the entitlement from a subscribed Red Hat Enterprise Linux - this is not recommended, and I assume this is against Red Hat Terms and conditions.
Prerequisites to run an entitled build¶
Install Operator¶
- Install Builds for Red Hat OpenShift Operator (tested with v1.4.0)
Share the entitlement secrets¶
Add the permissions to share the secret¶
Create a project/namespace¶
Allow access to shared secrets¶
In case you want to roll out automaticly for every new project, please use the project request tempalte.