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
10
10
11
11
.Prerequisites
12
12
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 .
14
14
15
15
16
16
[TIP]
@@ -25,15 +25,7 @@ RUN rm /etc/rhsm-host
25
25
26
26
.Procedure
27
27
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:
37
29
+
38
30
[source,yaml]
39
31
----
You can’t perform that action at this time.
0 commit comments