Skip to content

Commit 84b6ead

Browse files
authored
Merge pull request #103977 from lahinson/osdocs-14984-hcp-dc-example
[OSDOCS-14984]: Updating example in HCP disconnected docs
2 parents 71a58c1 + f06e21f commit 84b6ead

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

modules/hcp-hc-objects.adoc

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -116,20 +116,22 @@ spec:
116116
additionalTrustBundle:
117117
name: "user-ca-bundle"
118118
olmCatalogPlacement: guest
119-
imageContentSources: <3>
119+
configuration:
120+
operatorhub:
121+
disableAllDefaultSources: true <3>
122+
imageContentSources: <4>
120123
- source: quay.io/openshift-release-dev/ocp-v4.0-art-dev
121124
mirrors:
122-
- registry.<dns.base.domain.name>:5000/openshift/release <4>
125+
- registry.<dns.base.domain.name>:5000/openshift/release <5>
123126
- source: quay.io/openshift-release-dev/ocp-release
124127
mirrors:
125-
- registry.<dns.base.domain.name>:5000/openshift/release-images <4>
128+
- registry.<dns.base.domain.name>:5000/openshift/release-images <5>
126129
- mirrors:
127-
...
128-
...
130+
# ...
129131
autoscaling: {}
130132
controllerAvailabilityPolicy: SingleReplica
131133
dns:
132-
baseDomain: <dns.base.domain.name> <4>
134+
baseDomain: <dns.base.domain.name> <5>
133135
etcd:
134136
managed:
135137
storage:
@@ -154,7 +156,7 @@ spec:
154156
pullSecret:
155157
name: <hosted_cluster_name>-pull-secret <1>
156158
release:
157-
image: registry.<dns.base.domain.name>:5000/openshift/release-images:<4.x.y>-x86_64 <4> <5>
159+
image: registry.<dns.base.domain.name>:5000/openshift/release-images:<4.x.y>-x86_64 <5> <6>
158160
secretEncryption:
159161
aescbc:
160162
activeKey:
@@ -186,9 +188,10 @@ status:
186188
+
187189
<1> Replace `<hosted_cluster_name>` with your hosted cluster.
188190
<2> Replace `<hosted_cluster_namespace>` with the name of your hosted cluster namespace.
189-
<3> The `imageContentSources` section contains mirror references for user workloads within the hosted cluster.
190-
<4> Replace `<dns.base.domain.name>` with the DNS base domain name.
191-
<5> Replace `<4.x.y>` with the supported {product-title} version you want to use.
191+
<3> For the `disableAllDefaultSources` parameter, specify `true` if you want to disable all default OLM catalog resources. The default value is `false`, which enables all default OLM catalog resources.
192+
<4> The `imageContentSources` section contains mirror references for user workloads within the hosted cluster.
193+
<5> Replace `<dns.base.domain.name>` with the DNS base domain name.
194+
<6> Replace `<4.x.y>` with the supported {product-title} version you want to use.
192195
193196
. Create all of the objects that you defined in the YAML files by concatenating them into a file and applying them against the management cluster. To do so, enter the following command:
194197
+

0 commit comments

Comments
 (0)