Skip to content

Commit 386ab95

Browse files
authored
RHDEVDOCS-4050 small correction on adding subscription entitlements (#47004)
* Update modules/builds-source-secrets-entitlements.adoc Updating modules/builds-source-secrets-entitlements.adoc based on ticket: https://issues.redhat.com/browse/RHDEVDOCS-4050 and issue: #43099
1 parent 5b7f161 commit 386ab95

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

modules/builds-source-secrets-entitlements.adoc

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff 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
----

0 commit comments

Comments
 (0)