File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Builds that use Red Hat subscriptions to install content must include the entitl
1010
1111.Prerequisites
1212
13- You must have access to Red Hat entitlements through your subscription, and the entitlements must have separate public and private key files .
13+ You must have access to Red Hat entitlements through your subscription. The entitlement secret is automatically created by the Insights Operator .
1414
1515
1616[TIP]
@@ -25,15 +25,7 @@ RUN rm /etc/rhsm-host
2525
2626.Procedure
2727
28- . Create a secret containing your entitlements, ensuring that there are separate files containing the public and private keys:
29- +
30- [source,terminal]
31- ----
32- $ oc create secret generic etc-pki-entitlement -- from-file /path/to/entitlement/{ID} .pem \
33- > --from-file /path/to/entitlement/{ID}-key.pem ...
34- ----
35-
36- . Add the secret as a build volume in the build configuration’s Docker strategy:
28+ . Add the etc-pki-entitlement secret as a build volume in the build configuration’s Docker strategy:
3729+
3830[source,yaml]
3931----
You can’t perform that action at this time.
0 commit comments