1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-06 00:48:45 +01:00

90 Commits

Author SHA1 Message Date
Sandhya Dasu
8812b8e56f Add ipFamily as an install-config field for AWS and Azure
Includes validation for input values and unit tests for this new
install-config parameter.
2026-01-15 13:17:42 -05:00
Aditya Narayanaswamy
059a7c9f07 added mock files and changed test files 2025-11-20 15:48:45 -05:00
Aditya Narayanaswamy
a9af27250b azure: Add support for multi zonal NAT gateways
Adding support to install multiple NAT gateways per subnet in
the specific zones they need to be in.

Also, allowing the users to bring their own subnets.

(NAT gateways on BYO subnets are not supported by CAPZ, it just
creates a dummy NAT gateway and doesn't attach it to the subnet).
2025-11-20 15:48:40 -05:00
Mark Hamzy
0324f33df0 PowerVC: Add new platform for PowerVC
PowerVC is an OpenStack based cloud provider with some significant
differences.  Since we can use the OpenStack provider for most of the
work, we will create a thin provider which will only handle the
differences.
2025-11-19 08:57:03 -06:00
openshift-merge-bot[bot]
c36c0d7600 Merge pull request #9734 from shiftstack/OCPBUGS-43783
OSASINFRA-3915: openstack: Start setting CredentialsMode
2025-10-14 03:27:57 +00:00
barbacbd
83932610a7 OCPBUGS-61901: Update explain for Publish
Update the publish strategy to include "Mixed" (it was left out of the kube enum).
Update the explain commands to ensure the Mixed info is present.
2025-09-19 09:30:30 -04:00
openshift-merge-bot[bot]
569bbc8690 Merge pull request #9753 from rna-afk/azure_single_nat_gateway
CORS-4067: Add support for single zone NAT gateway
2025-08-08 03:41:06 +00:00
Sandhya Dasu
db2052c5ab CORS-4084: Azure custom-dns: Add userProvisionedDNS as install-config parameter
This feature is currently available when feature gate
AzureClusterHostedDNSInstall is enabled.
2025-08-01 12:32:10 -04:00
Stephen Finucane
6c83f9f3ef openstack: Start setting CredentialsMode
This is done for the other platforms. Do it now for OpenStack.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-07-16 16:46:03 +01:00
Aditya Narayanaswamy
9ea9f83ef0 azure: Add support for single zone NAT gateway
Adding the option for the users to create a NAT gateway for the
compute nodes as an option to replace the traditional load balancer
setup. This is only for a single NAT gateway in the compute
subnet as CAPZ expects an outbound LB for control planes.
2025-07-02 17:27:27 -04:00
Trilok Geer
743f48dea8 Removes instances of deprecated experimentalPropagateUserTags
Signed-off-by: Trilok Geer <tgeer@redhat.com>
2025-06-05 10:37:41 +05:30
openshift-merge-bot[bot]
e9b3cf7c39 Merge pull request #9159 from eggfoobar/add-arbiter-node
OCPEDGE-1310: feat: add arbiter node support to installer
2025-03-01 06:34:05 +00:00
ehila
068689c3bf feat: add arbiter node support to installer
Signed-off-by: ehila <ehila@redhat.com>

feat: add baremetal machine generation

Signed-off-by: ehila <ehila@redhat.com>

feat: updated with suggestions from review

touched up comments
updated wording on variables
added better validation steps
reordered machine generation order
removed switch statement for arbiter generation code

Signed-off-by: ehila <ehila@redhat.com>

feat: added support for optional host roles

cleaned up uneeded function
added logic to handle optional role type
added unit tests to cover cases

Signed-off-by: ehila <ehila@redhat.com>

feat: update with suggestions

updated to add suggestions from review and remove deprecated errors package
added unit tests for arbiter customizations and arbiter machine to mimic
master unit tests since arbiters currently are configured in the same
way.
moved isArbiterEnabled as a pointer receiver to installConfig and
removed duplicate validation checks.
updated the ignition file creation to only be created when the install
is for an arbiter deployment.

Signed-off-by: ehila <ehila@redhat.com>
2025-02-20 02:04:30 -05:00
Thuan Vo
a4dbc995c7 test: update test expected error message 2025-02-18 09:03:17 -08:00
Thuan Vo
effc67bc6b CORS-3867: define platform.vpc.subnets field in install-config
Following proposal for selecting LB subnets, the field
platform.vpc.subnets will be introduced for more flexible
configurations. This enhancement proposal is available reference [0].

There are some adjustments to the API markers and descriptions in comparison to
the proposal.
- Organize field description for easier read.
- Correct kubebuilder:validation:MaxItems on array field

References:

[0] 2890cccf20/enhancements/installer/aws-lb-subnet-selection.md
2025-02-18 09:03:17 -08:00
Brent Barbachem
3ca44fae11 Update tests.
** Tests need to be updated due to updates to controller tools (required by gcp provider)
2024-10-23 07:24:29 -04:00
Brent Barbachem
bf66e76d42 CORS-3696: Add AWS User Provisioned DNS option to install config
** The AWS platform will now include the userProvisionedDNS option. The
user can Enable the feature with "Enabled". The default value is "Disabled".
2024-10-18 12:27:04 -04:00
openshift-merge-bot[bot]
fe126cafe8 Merge pull request #8755 from r4f4/aws-deprec-platform-amiid
CORS-3608: aws: deprecate platform.aws.amiID field
2024-08-07 23:44:23 +00:00
Rafael Fonseca
e390b89ea3 ic/aws: add iamProfile input field to install-config
With this field, a user will be able to BYO instance profile.
2024-07-24 09:53:17 +02:00
Rafael Fonseca
85a3545ebc CORS-3608: aws: deprecate platform.aws.amiID field
This field was introduced [1] before the Installer had support for
custom AMIs in machine pools [2]. Now that it does, the same
functionality is achieved via the defaultMachinePlatform field
`platform.aws.defaultMachinePlatform.amiID`

[1] fdf94e39ee
[2] bc47222576
2024-07-19 21:42:16 +02:00
Rafael Fonseca
9211013e1d OCPBUGS-35523: remove terraform libvirt from the installer
libvirt IPI has never been supported.
2024-06-15 10:33:26 +02:00
Rafael Fonseca
f5cfcd41c4 OCPBUGS-33661: capi/aws: rename preserveBootstrapIgnition
The name doesn't really reflect the purpose of the field, but the
terraform implementation instead. Since the implementation has changed
in capi/capa, let's rename it so users don't expect the ignition object
to not be destroyed when there are enough permissions.

The old field is kept for the deprecation period but will be removed in
the future in favor of the new `BestEffortDeleteIgnition`.
2024-06-07 10:53:47 +02:00
Brent Barbachem
c6f91d6878 OCPBUGS-31711: AWS update explain docs
** The go docs in the install-config's platform.aws.lbType is misleading as well as on the ingress object (oc explain ingresses.config.openshift.io.spec.loadBalancer.platform.aws.type).
Update the docs to further explain the ingress controller info.
2024-04-15 09:36:05 -04:00
Marco Braga
1fc258ee15 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.
2024-02-21 15:10:49 -03:00
Joseph Callen
ad59622147 changes associated with alibaba removal
This commit removes the ability to use the installer
and the Alibaba platform. All references to alibaba
are removed.
2024-01-15 09:48:24 -05:00
rna-afk
364a473915 azure: Allow users to set visibility to components
Adding a field in the install config to allow the users to set
the visibility of ingress and api servers.
2023-11-30 12:56:13 -05:00
rna-afk
6077dd1031 test: Added test cases
Added test cases for new field customerManagedKey
2023-11-28 14:59:43 -05:00
OpenShift Merge Robot
d7f39ed483 Merge pull request #7412 from rna-afk/revert_azure_managed_by
OCPBUGS-17073: Revert "Merge pull request #7205 from rna-afk/azure_managed_by_tag"
2023-08-24 00:05:23 -04:00
Rafael Fonseca
b84c7abd92 OCPBUGS-17869: azure: put NAT gateway behind TechPreviewNoUpgrade
The feature is not fully implemented thus not supported yet.
2023-08-17 19:16:10 +02:00
OpenShift Merge Robot
6e5a570b89 Merge pull request #7313 from eggfoobar/update-cpu-partitioning-description
OCPBUGS-11999: upkeep: updated description to remove techpreview
2023-08-15 21:06:13 -02:30
OpenShift Merge Robot
fe762c7d08 Merge pull request #7288 from rna-afk/make_s3_deletion_optional
CORS-2700: Make bootstrap S3 bucket optional during bootstrap destroy
2023-08-15 21:06:06 -02:30
rna-afk
f828b083e6 Revert "Merge pull request #7205 from rna-afk/azure_managed_by_tag"
This reverts commit 87fbf26644, reversing
changes made to 26a0d5cfeb.
2023-08-09 12:21:14 -04:00
OpenShift Merge Robot
87fbf26644 Merge pull request #7205 from rna-afk/azure_managed_by_tag
CORS-2628: Allow users to set ManagedBy tag to resource group
2023-07-27 01:39:39 +02:00
rna-afk
f7bd5bfe19 aws: Add field to explain command.
Adding field to the help text in explain command.
2023-07-25 17:44:09 -04:00
Richard Vanderpool
4423797340 OCPCLOUD-2036: installer to support External platform type
Platform external is intended to allow third parties to generate required
manifests which are consumed by an external cloud provider. This allows
the installer to be used by third parties without the need for direct
modification.
2023-07-19 11:06:36 -04:00
rna-afk
36bf1aafb7 added go generate docs. 2023-07-13 14:04:39 -04:00
ehila
2f216b91c5 upkeep: updated description to remove techpreview
Signed-off-by: ehila <ehila@redhat.com>
2023-07-11 10:25:56 -04:00
OpenShift Merge Robot
b74563ab74 Merge pull request #6933 from r4f4/azure-nat-gws
CORS-2572: azure: implement egress via NAT gateway
2023-07-06 22:50:10 -04:00
OpenShift Merge Robot
156e883801 Merge pull request #7253 from patrickdillon/aws-shared-phz-2
CORS-2645: AWS Cross-Account Private Hosted Zone: Add Further Validations
2023-06-28 22:49:26 +02:00
Rafael Fonseca
baeae009cd installconfig: azure: add NatGateway outbound type
This will allow users to choose NAT gateway for egress instead of Load
balancers. The actual implementation will follow in the next commit.
2023-06-25 13:24:50 +02:00
Patrick Dillon
7b02db3764 aws: clarify hostedZoneRole description
Improves wording of hostedZoneRole comment/godoc.
2023-06-16 12:33:36 -04:00
OpenShift Merge Robot
f5784c7d5d Merge pull request #7246 from JoelSpeed/feature-gate-expansion
Allow CustomNoUpgrade features via install-config
2023-06-15 13:16:19 -04:00
Joel Speed
8e0302942b Allow CustomNoUpgrade features via install-config 2023-06-14 13:18:57 +01:00
Bharath B
a5acb27cc8 CFE-829 : Remove Azure Tags TechPreviewOnly indicators and checks 2023-06-13 12:30:28 +05:30
Patrick Dillon
49f3497f5e aws: add HostedZoneRole to platform
Adds a hosted zone role field. If provided,
this role will be assumed whenever operations
are performed on the provided hosted zone. This
enables the private hosted zone to belong to a different
account than the rest of the cluster.
2023-06-01 19:44:14 -04:00
Qi Wang
ef6ab5bbde Add imageDigestSources, deprecate imageContentSources
Add imageDigestSources, deprecate imageContentSources in the install-config

ref discussion: https://coreos.slack.com/archives/C68TNFWA2/p1659533284752489

Signed-off-by: Qi Wang <qiwan@redhat.com>
2023-04-05 16:15:12 -04:00
Bharath B
ba1388d4d0 CFE-757 : Process Azure user-defined tags for AzurePublicCloud only 2023-02-22 16:43:23 +05:30
Bharath B
35c424009f add TechPreview feature detail in userTags description 2023-02-13 09:22:26 +05:30
ehila
c4824a4acf feat: add logic to ingest config behind techpreview feature
Signed-off-by: ehila <ehila@redhat.com>
2023-02-08 14:27:50 -05:00
ehila
206c7b88af feat: updated config install to add cpuPartitioningMode option
Signed-off-by: ehila <ehila@redhat.com>
2023-02-08 11:46:29 -05:00