Skip to content

Commit 5b9e63d

Browse files
authored
Merge pull request #43933 from kelbrown20/fix-module-for-aws-upi-machine-types
Fixing aws installer modules for non arm specific sections
2 parents 5bc87f0 + cad5e9d commit 5b9e63d

File tree

2 files changed

+47
-10
lines changed

2 files changed

+47
-10
lines changed

modules/installation-configuration-parameters.adoc

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ endif::[]
5656
ifeval::["{context}" == "installing-aws-customizations"]
5757
:aws:
5858
endif::[]
59+
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC . This attribute excludes arm64 content from installing on gov regions. When government regions are supported on arm64, change `aws-govcloud` to `aws`.
5960
ifeval::["{context}" == "installing-aws-government-region"]
60-
:aws:
61+
:aws-govcloud:
6162
endif::[]
63+
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC. This attribute excludes arm64 content from installing on secret regions. When secret regions are supported on arm64, change `aws-secret` to `aws`.
6264
ifeval::["{context}" == "installing-aws-secret-region"]
63-
:aws:
65+
:aws-secret:
6466
endif::[]
6567
ifeval::["{context}" == "installing-aws-network-customizations"]
6668
:aws:
@@ -71,8 +73,9 @@ endif::[]
7173
ifeval::["{context}" == "installing-aws-vpc"]
7274
:aws:
7375
endif::[]
76+
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC. This attribute excludes arm64 content from installing in restricted networks upi. When restricted networks upi is supported on arm64, change `aws-restricted` to `aws`.
7477
ifeval::["{context}" == "installing-restricted-networks-aws-installer-provisioned"]
75-
:aws:
78+
:aws-restricted:
7679
endif::[]
7780
ifeval::["{context}" == "installing-azure-customizations"]
7881
:azure:
@@ -626,10 +629,10 @@ endif::openshift-origin[]
626629
|`publish`
627630
|How to publish or expose the user-facing endpoints of your cluster, such as the Kubernetes API, OpenShift routes.
628631
|
629-
ifdef::aws,azure,gcp[]
632+
ifdef::aws,aws-govcloud,aws-secret,aws-restricted,azure,gcp[]
630633
`Internal` or `External`. To deploy a private cluster, which cannot be accessed from the internet, set `publish` to `Internal`. The default value is `External`.
631634
endif::[]
632-
ifndef::aws,azure,gcp[]
635+
ifndef::aws,aws-govcloud,aws-secret,aws-restricted,azure,gcp[]
633636
`Internal` or `External`. The default value is `External`.
634637

635638
Setting this field to `Internal` is not supported on non-cloud platforms and IBM Cloud.
@@ -651,7 +654,7 @@ a|For example, `sshKey: ssh-ed25519 AAAA..`.
651654

652655
|====
653656

654-
ifdef::aws[]
657+
ifdef::aws,aws-govcloud,aws-secret,aws-restricted[]
655658
[id="installation-configuration-parameters-optional-aws_{context}"]
656659
== Optional AWS configuration parameters
657660

@@ -754,7 +757,7 @@ host must trust the certificate.
754757
|Valid subnet IDs.
755758

756759
|====
757-
endif::aws[]
760+
endif::aws,aws-govcloud,aws-secret,aws-restricted[]
758761

759762
ifdef::osp[]
760763
[id="installation-configuration-parameters-additional-osp_{context}"]
@@ -1491,10 +1494,10 @@ ifeval::["{context}" == "installing-aws-customizations"]
14911494
:!aws:
14921495
endif::[]
14931496
ifeval::["{context}" == "installing-aws-government-region"]
1494-
:!aws:
1497+
:!aws-govcloud:
14951498
endif::[]
14961499
ifeval::["{context}" == "installing-aws-secret-region"]
1497-
:!aws:
1500+
:!aws-secret:
14981501
endif::[]
14991502
ifeval::["{context}" == "installing-aws-network-customizations"]
15001503
:!aws:
@@ -1506,7 +1509,7 @@ ifeval::["{context}" == "installing-aws-vpc"]
15061509
:!aws:
15071510
endif::[]
15081511
ifeval::["{context}" == "installing-restricted-networks-aws-installer-provisioned"]
1509-
:!aws:
1512+
:!aws-restricted:
15101513
endif::[]
15111514
ifeval::["{context}" == "installing-azure-customizations"]
15121515
:!azure:

modules/installation-supported-aws-machine-types.adoc

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,25 @@
88
// * installing/installing_aws/installing-aws-customizations.adoc
99
// * installing/installing_aws/installing-aws-vpc.adoc
1010
// * installing/installing_aws/installing-aws-private.adoc
11+
// * installing/installing_aws/installing-aws-china.adoc
12+
13+
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC. This attribute excludes arm64 content from installing in restricted networks upi. When restricted networks upi is supported on arm64, remove this ifdevel.
14+
ifeval::["{context}" == "installing-restricted-networks-aws"]
15+
:aws-restricted-upi:
16+
endif::[]
17+
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC. This attribute excludes arm64 content from installing on gov regions. When government regions are supported on arm64, remove this ifdevel.
18+
ifeval::["{context}" == "installing-aws-government-region"]
19+
:aws-govcloud:
20+
endif::[]
21+
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC. This attribute excludes arm64 content from installing on secret regions. When secret regions are supported on arm64, remove this ifdevel.
22+
ifeval::["{context}" == "installing-aws-secret-region"]
23+
:aws-secret:
24+
endif::[]
25+
//Starting in 4.10, aws on arm64 is only supported for installation on custom, network custom, private clusters and VPC. This attribute excludes arm64 content from installing in china regions. When china regions are supported on arm64, remove this ifdevel.
26+
ifeval::["{context}" == "installing-aws-china-region"]
27+
:aws-china:
28+
endif::[]
29+
1130

1231
[id="installation-supported-aws-machine-types_{context}"]
1332
= Supported AWS machine types
@@ -383,6 +402,7 @@ The following Amazon Web Services (AWS) instance types are supported with {produ
383402
|===
384403
====
385404

405+
ifndef::aws-restricted-upi,aws-govcloud,aws-secret,aws-china[]
386406
.Machine types based on arm64 architecture
387407
[%collapsible]
388408
====
@@ -466,3 +486,17 @@ The following Amazon Web Services (AWS) instance types are supported with {produ
466486
467487
|===
468488
====
489+
endif::[]
490+
491+
ifeval::["{context}" == "installing-restricted-networks-aws"]
492+
:!aws-restricted-upi:
493+
endif::[]
494+
ifeval::["{context}" == "installing-aws-government-region"]
495+
:!aws-govcloud:
496+
endif::[]
497+
ifeval::["{context}" == "installing-aws-secret-region"]
498+
:!aws-secret:
499+
endif::[]
500+
ifeval::["{context}" == "installing-aws-china-region"]
501+
:!aws-china:
502+
endif::[]

0 commit comments

Comments
 (0)