Skip to content

Commit 1fc258e

Browse files
committed
aws/type/api: add support of field publicIpv4Pool
Add the support of publicIpv4Pool (platform.aws) on install-config to set the Public IPv4 Pool ID that the user brought to the AWS Account.
1 parent 61810a6 commit 1fc258e

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

data/data/install.openshift.io_installconfigs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2287,6 +2287,11 @@ spec:
22872287
operators to include the specified user tags in the tags of
22882288
the AWS resources that the operators create.
22892289
type: boolean
2290+
publicIpv4Pool:
2291+
description: PublicIpv4Pool is an optional field that can be used
2292+
to tell the installation process to use Public IPv4 address
2293+
that you bring to your AWS account with BYOIP.
2294+
type: string
22902295
region:
22912296
description: Region specifies the AWS region where the cluster
22922297
will be created.

pkg/explain/printer_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ func Test_PrintFields(t *testing.T) {
179179
propagateUserTags <boolean>
180180
PropagateUserTags is a flag that directs in-cluster operators to include the specified user tags in the tags of the AWS resources that the operators create.
181181
182+
publicIpv4Pool <string>
183+
PublicIpv4Pool is an optional field that can be used to tell the installation process to use Public IPv4 address that you bring to your AWS account with BYOIP.
184+
182185
region <string> -required-
183186
Region specifies the AWS region where the cluster will be created.
184187

pkg/types/aws/platform.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ type Platform struct {
106106
// during bootstrap destroy.
107107
// +optional
108108
PreserveBootstrapIgnition bool `json:"preserveBootstrapIgnition,omitempty"`
109+
110+
// PublicIpv4Pool is an optional field that can be used to tell the installation process to use
111+
// Public IPv4 address that you bring to your AWS account with BYOIP.
112+
// +optional
113+
PublicIpv4Pool string `json:"publicIpv4Pool,omitempty"`
109114
}
110115

111116
// ServiceEndpoint store the configuration for services to

0 commit comments

Comments
 (0)