Skip to content

Commit e5a7b2f

Browse files
authored
Merge pull request #20621 from kalexand-rh/enterprise-4.2
[enterprise-4.2] bug1766480: improving conditionals for internet requirements
2 parents d845891 + 1cc1ecb commit e5a7b2f

File tree

2 files changed

+39
-1
lines changed

2 files changed

+39
-1
lines changed

modules/cluster-entitlements.adoc

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,25 @@
1919
// * installing/installing_vsphere/installing-vsphere.adoc
2020
// * installing/installing_ibm_z/installing-ibm-z.adoc
2121

22+
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
23+
:restricted:
24+
endif::[]
25+
ifeval::["{context}" == "installing-restricted-networks-vsphere"]
26+
:restricted:
27+
endif::[]
28+
2229
[id="cluster-entitlements_{context}"]
2330
= Internet and Telemetry access for {product-title}
2431

25-
In {product-title} {product-version}, you require access to the internet to install and entitle your cluster. The Telemetry service, which runs by default to provide metrics about cluster health and the success of updates, also requires internet access. If your cluster is connected to the internet, Telemetry runs automatically, and your cluster is registered to the link:https://cloud.redhat.com/openshift[{cloud-redhat-com}]. From there, you can allocate entitlements to your cluster.
32+
In {product-title} {product-version}, you require access to the internet to
33+
ifndef::restricted[]
34+
install and
35+
endif::restricted[]
36+
ifdef::restricted[]
37+
obtain the images that you require to install the cluster and to
38+
endif::restricted[]
39+
entitle your cluster.
40+
The Telemetry service, which runs by default to provide metrics about cluster health and the success of updates, also requires internet access. If your cluster is connected to the internet, Telemetry runs automatically, and your cluster is registered to the link:https://cloud.redhat.com/openshift[{cloud-redhat-com}]. From there, you can allocate entitlements to your cluster.
2641

2742
You must have internet access to:
2843

@@ -37,3 +52,10 @@ If your cluster cannot have direct internet access, you can perform a restricted
3752
====
3853

3954
endif::openshift-origin,openshift-enterprise[]
55+
56+
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
57+
:!restricted:
58+
endif::[]
59+
ifeval::["{context}" == "installing-restricted-networks-vsphere"]
60+
:!restricted:
61+
endif::[]

modules/installation-installing-bare-metal.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
// * installing/installing_vsphere/installing-vsphere.adoc
77
// * installing/installing_ibm_z/installing-ibm-z.adoc
88

9+
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
10+
:restricted:
11+
endif::[]
12+
ifeval::["{context}" == "installing-restricted-networks-vsphere"]
13+
:restricted:
14+
endif::[]
15+
916
[id="installation-installing-bare-metal_{context}"]
1017
= Creating the cluster
1118

@@ -20,7 +27,9 @@ Ignition config files that you generated with the installation program.
2027
for your cluster.
2128
* You used the Ignition config files to create {op-system} machines for your
2229
cluster.
30+
ifndef::restricted[]
2331
* Your machines have direct internet access.
32+
endif::restricted[]
2433

2534
.Procedure
2635

@@ -50,3 +59,10 @@ load balancer.
5059
You must remove the bootstrap machine from the load balancer at this point. You
5160
can also remove or reformat the machine itself.
5261
====
62+
63+
ifeval::["{context}" == "installing-restricted-networks-bare-metal"]
64+
:!restricted:
65+
endif::[]
66+
ifeval::["{context}" == "installing-restricted-networks-vsphere"]
67+
:!restricted:
68+
endif::[]

0 commit comments

Comments
 (0)