Skip to content

Commit 46da66e

Browse files
committed
Fix all missing gcp attribute closures (along with others found during search)
1 parent e250ac0 commit 46da66e

6 files changed

+57
-0
lines changed

modules/admin-credentials-root-secret-formats.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,13 @@ stringData:
102102
service_account.json: <ServiceAccount>
103103
----
104104
endif::google-cloud-platform[]
105+
106+
ifeval::["{context}" == "manually-creating-iam-aws"]
107+
:!aws:
108+
endif::[]
109+
ifeval::["{context}" == "manually-creating-iam-azure"]
110+
:!azure:
111+
endif::[]
112+
ifeval::["{context}" == "manually-creating-iam-gcp"]
113+
:!google-cloud-platform:
114+
endif::[]

modules/alternatives-to-storing-admin-secrets-in-kube-system.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,13 @@ If you prefer not to store an administrator-level credential secret in the clust
5252

5353
Using manual mode allows each cluster component to have only the permissions it requires, without storing an administrator-level credential in the cluster. You can also use this mode if your environment does not have connectivity to the cloud provider public IAM endpoint. However, you must manually reconcile permissions with new release images for every upgrade. You must also manually supply credentials for every component that requests them.
5454
endif::azure[]
55+
56+
ifeval::["{context}" == "manually-creating-iam-aws"]
57+
:!aws:
58+
endif::[]
59+
ifeval::["{context}" == "manually-creating-iam-azure"]
60+
:!azure:
61+
endif::[]
62+
ifeval::["{context}" == "manually-creating-iam-gcp"]
63+
:!google-cloud-platform:
64+
endif::[]

modules/installation-uninstall-clouds.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,10 @@ directory to delete the cluster.
6464

6565
. Optional: Delete the `<installation_directory>` directory and the
6666
{product-title} installation program.
67+
68+
ifeval::["{context}" == "uninstalling-cluster-aws"]
69+
:!aws:
70+
endif::[]
71+
ifeval::["{context}" == "uninstalling-cluster-gcp"]
72+
:!gcp:
73+
endif::[]

modules/machineset-creating-non-guaranteed-instances.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,13 @@ providerSpec:
7171
If `preemptible` is set to `true`, the machine is labelled as an `interruptable-instance` after the instance is launched.
7272

7373
endif::gcp[]
74+
75+
ifeval::["{context}" == "creating-machineset-aws"]
76+
:!aws:
77+
endif::[]
78+
ifeval::["{context}" == "creating-machineset-azure"]
79+
:!azure:
80+
endif::[]
81+
ifeval::["{context}" == "creating-machineset-gcp"]
82+
:!gcp:
83+
endif::[]

modules/machineset-non-guaranteed-instance.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,13 @@ Interruptions can occur when using preemptible VM instances for the following re
7171
7272
When GCP terminates an instance, a termination handler running on the preemptible VM instance node deletes the machine resource. To satisfy the machine set `replicas` quantity, the machine set creates a machine that requests a preemptible VM instance.
7373
endif::gcp[]
74+
75+
ifeval::["{context}" == "creating-machineset-aws"]
76+
:!aws:
77+
endif::[]
78+
ifeval::["{context}" == "creating-machineset-azure"]
79+
:!azure:
80+
endif::[]
81+
ifeval::["{context}" == "creating-machineset-gcp"]
82+
:!gcp:
83+
endif::[]

modules/manually-create-identity-access-management.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,13 @@ $ openshift-install create cluster --dir=<installation_directory>
174174
====
175175
Before upgrading a cluster that uses manually maintained credentials, you must ensure that the CCO is in an upgradeable state. For details, see the _Upgrading clusters with manually maintained credentials_ section of the installation content for your cloud provider.
176176
====
177+
178+
ifeval::["{context}" == "manually-creating-iam-aws"]
179+
:!aws:
180+
endif::[]
181+
ifeval::["{context}" == "manually-creating-iam-azure"]
182+
:!azure:
183+
endif::[]
184+
ifeval::["{context}" == "manually-creating-iam-gcp"]
185+
:!google-cloud-platform:
186+
endif::[]

0 commit comments

Comments
 (0)