1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

542 Commits

Author SHA1 Message Date
Thuan Vo
552b61936e CORS-4058: Migrate AWS Destroy to SDK v2 (#9982)
* pkg/destroy/aws/ec2helpers.go

** the bulk of the changes are to the ec2helpers file. All of the sdk v1 imports
are removed except for session as this one is engrained too many files currently.

pkg/destroy/aws/aws.go

** Add a client for ELB ELBV2 and IAM to the Cluster Removal Struct. Even though
these changes are mainly to ec2helpers, the other clients were required in for
certain operations.

** The rest of the file updates are alter ARN import to come from aws sdk v2.

* pkg/destroy/aws/iamhelpers.go

** Remove/Change all imports from AWS sdk v1 to v2.

pkg/destroy/aws/errors.go
pkg/destroy/aws/ec2helpers.go

** Remove the Error checking/formatting function from ec2helpers and put the function
in the errors.go file.

* pkg/destroy/aws/elbhelpers.go

** Remove all SDK v1 imports from elb helpers.

* Add reference to correct HandleErrorCode function.

* pkg/destroy/aws/aws.go

** Update Route53, s3, and efs services to sdk v2. This is slowly removing the
requirement for aws session.

* ** Vendor updates for S3 and EFS services.
** This caused updates to other packages such as aws/config, credentials, stscreds, and
a list of aws internal packages.

* Clean up references and use the exported config creator to create new clients in destroyer.

* ** Migrate the use of resource tagging api to the sdk V2.

pkg/destroy/aws:

** Alter the function name from HandleErrorCode to handleErrorCode. The initial thought was that
this function could be used in other areas of the code, but it will remain in destroy for now.

pkg/destroy/aws/shared.go:

** Remove the session import and uses in the file.

* Fix references to HandleErrorCode.

* kg/destroy/aws/aws.go:

** Remove session from the imports. Added the agent handler to the configurations.

* Fix package updates for vendoring.

* Use the correct private and public zone clients.
Set a Destroy User Agent.
Cleanup pointer references to use the aws sdk.

* The ListUsers API call does not return tags for the IAM users in the
response. There is a separate call ListUserTags to fetch its tag for
checking in the installer code.

* rebase: fix other imports after rebase

* revert: use GetRole/GetUser to fetch tags

An older commit uses ListRoleTags/ListUserTags in order to save
bandwidth by fetching only tags. However, the minimal permission
required for the installer does not have permission iam:ListUserTags or
iam:ListRoleTags, thus causing the deprovisioning to skip users and
roles. This is part of the reasons for previous CI leaks.

This commit reverts the optimisation idea to just user GetRole/GetUser,
which should have sufficient minimal permission policy.

---------

Co-authored-by: barbacbd <barbacbd@gmail.com>
2026-01-27 11:55:23 +00:00
barbacbd
322e2929d1 CORS-4299: Update GCP MAPI Provider
Update the GCP provider reference so that N4A instances can be validated.

Note: govmomi was set to v0.51.0 because the MAPI updates were causing an automatic
update to v0.52.0 resulting in build issues that have no current solution.
2026-01-19 10:59:55 -05:00
openshift-merge-bot[bot]
b35dbe664b Merge pull request #10132 from tthvo/CORS-4212
CORS-4212: AWS: Add the ability to configure throughput on GP3 volumes
2025-12-04 21:00:05 +00:00
openshift-merge-bot[bot]
f436744ad5 Merge pull request #10122 from tthvo/bump-capa
NO-JIRA: bump capa to latest upstream version
2025-12-03 22:40:03 +00:00
John Hixson
c17a0ff538 Bump openshift/api for AWS GP3 changes 2025-12-01 17:12:41 -08:00
Thuan Vo
cf03fc21d7 deps: bump top-level go.mod with latest upstream capa commit
CAPA is now compatible with CAPI v1.11
2025-11-21 16:16:10 -08:00
Stephen Finucane
a84719caef Add ORC API to local control plane
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-11-21 14:26:25 +00:00
Mark Old
8ccbf40fff Add generated DeepCopy implementations for pkg/types/installconfig 2025-11-18 22:28:04 -08:00
Ben Nemec
a0dd35fcb8 Bump openshift/api
Pulling in the internalDNSRecords field from
https://github.com/openshift/api/pull/2460
2025-11-18 08:23:58 -06:00
Patrick Dillon
833b2c96ef go.mod: bump openshift/api to latest && cluster-api to v1.11
This bumps openshift/api to latest and bumps cluster-api to v1.11.

CAPI v1.11 contains breaking changes and not all providers have
completed migrating to v1.11 yet. Unfortunately this breaks us and
makes it so we are unable to update openshift/api (due to conflicts
with the latest apimachinery package which is incompatible with older
versions of CAPI).

Therefore, I am vendoring in the work-in-progress changes in CAPA,
CAPZ, & CAPX. The installer only uses this code to generate the
manifests (the controllers are vendored separately), so the risk
here is relatively low. This is meant as a temporary measure to
unblock us from making progress. Once these providers have
completed the merge to v1.11, we should be fine to remove
these replaces and vendor as usual.
2025-11-11 16:19:43 -05:00
Sandhya Dasu
8e645aa4e8 Update verndoring 2025-11-03 14:35:07 -05:00
Patrick Dillon
985c5d532e go mod tidy 2025-10-30 16:15:07 -04:00
openshift-merge-bot[bot]
ff86dce10e Merge pull request #9956 from zaneb/assisted-circular-dep
OCPBUGS-60538: Update assisted-service dependencies
2025-10-06 03:06:22 +00:00
Patrick Dillon
418324abf8 Revert "Merge pull request #9939 from barbacbd/CORS-4058-release-4.21"
This reverts commit bad1b52003, reversing
changes made to beebc3923c.
2025-09-29 13:14:09 -04:00
Zane Bitter
c4274ff273 OCPBUGS-60538: Update assisted-service dependencies
Update to the latest sub-modules of the assisted-service repo. This
removes a dependency loop and restores the intended status that the
top-level module is not (indirectly) imported.
2025-09-24 15:53:15 +12:00
openshift-merge-bot[bot]
bad1b52003 Merge pull request #9939 from barbacbd/CORS-4058-release-4.21
CORS-4058: Migrate AWS Destroy to SDK v2
2025-09-19 14:41:32 +00:00
barbacbd
6e79cbaeef ** Vendor updates for S3 and EFS services.
** This caused updates to other packages such as aws/config, credentials, stscreds, and
a list of aws internal packages.
2025-09-11 12:47:29 -04:00
Joseph Callen
db98975c7c vendor 2025-08-26 16:29:38 -04:00
openshift-merge-bot[bot]
d0aabcc2a9 Merge pull request #9329 from patrickdillon/az-mkt-imgs
CORS-3652: RHCOS Stream Marketplace Images
2025-08-22 16:00:45 +00:00
Patrick Dillon
992724418c go.mod: pull in new stream metadata & arm compute packages
go get github.com/coreos/stream-metadata-go@main
2025-08-21 11:48:52 -04:00
Thuan Vo
b793c4ff08 deps: add servicequotas v2 package 2025-08-15 00:33:25 -07:00
Thuan Vo
dd0e9d6053 deps: add missing aws sdk v2 packages
The following services are added:
- github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2
- github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing
- github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi
2025-08-14 10:49:44 -07:00
Abhay
96d51749e7 rebase the branch 2025-08-08 11:20:21 +05:30
ehila
fe79ed16d4 bump(ocp/api): pull in HighlyAvailableArbiter promotion
Signed-off-by: ehila <ehila@redhat.com>
2025-08-06 08:12:45 -04:00
Abhay
5ea0cd8cd2 Upgrading cluster-api-provider-nutanix version to 1.7.0 2025-08-06 12:00:42 +05:30
Sandhya Dasu
2c80155b3c Azure custom-dns: Bump openshift/api version to bring in AzurePlatformStatus updates 2025-08-01 12:31:39 -04:00
Sandhya Dasu
b8de071cbd Update to latest openshift/api
Update to the latest openshift/api to bring in updated feature gate
names.
2025-07-30 09:37:38 -04:00
ehila
aba675ff0e bump(ocp/api): pull in updated DualReplica
bumped ocp api to pull in DualReplica being promoted to TechPreview
needed to pin apimachinery to kube 32 since bumping to kube 33 caused a dependency on cluster-api 1.11 which is currently in beta

Signed-off-by: ehila <ehila@redhat.com>
2025-07-29 23:09:49 -04:00
Joseph Callen
9231bac7f7 api vendor 2025-07-07 12:32:12 -04:00
openshift-merge-bot[bot]
11f646a0d6 Merge pull request #9780 from eggfoobar/support-arbiter-agent-based
OCPEDGE-1740: feat: add arbiter role support to ABI
2025-07-02 16:44:10 +00:00
openshift-merge-bot[bot]
1fb1a8a841 Merge pull request #9764 from barbacbd/CORS-4060
CORS-4060: Migrate AWS sdk to v2 in infrastructure
2025-07-02 05:03:56 +00:00
ehila
72f57f4fd6 bump: update assisted-service api
updating assisted service api to pull in new ArbiterAgents field for provisioning requirements

Signed-off-by: ehila <ehila@redhat.com>
2025-07-01 07:35:11 -04:00
openshift-merge-bot[bot]
8b236befba Merge pull request #9493 from rvanderp3/SPLAT-2045
SPLAT-2045: [vsphere] promote multi-nic to default
2025-06-05 12:12:05 +00:00
barbacbd
f4f2771277 CORS-4060: Migrate AWS sdk to v2 in infrastructure
** Vendor updates
2025-06-02 06:58:38 -04:00
Richard Vanderpool
7e630b4fd4 SPLAT-2045: [vsphere] promote multi-nic to default 2025-05-29 16:29:54 -04:00
Patrick Dillon
c75642764d go.mod: Bump CAPZ and ASO
Bumps CAPZ to v1.19.3 and ASO to v2.11.0. Updates go.mod requires
and go mod tidy for top-level go.mod, cluster-api/providers/azure(aso).
2025-05-28 13:10:23 -04:00
Patrick Dillon
8e549310b5 vendor: Azure packages for identity creation
This revendors the azure packages that are needed to create a
user-assigned identity.
2025-05-20 14:21:43 -04:00
Patrick Dillon
6e834b3a42 Revert "Merge pull request #9665 from patrickdillon/revert-azurestack-ipi"
This reverts commit 2d3f2c5763, reversing
changes made to 63e0c358e0.
2025-04-16 10:06:31 -04:00
Patrick Dillon
dfabdf1f8a Revert "Merge pull request #9645 from patrickdillon/azurestack-mark-iii"
This reverts commit 63e0c358e0, reversing
changes made to d9c19b4517.
2025-04-16 07:50:56 -04:00
openshift-merge-bot[bot]
63e0c358e0 Merge pull request #9645 from patrickdillon/azurestack-mark-iii
CORS-3959, CORS-3864: CAPI-based AzureStack Installs
2025-04-15 20:31:57 +00:00
Patrick Dillon
46beec0542 vendor: armstorage packages
go mod tidy && go mod vendor
2025-04-15 11:12:18 -04:00
openshift-merge-bot[bot]
15ea83330e Merge pull request #9544 from bear-redhat/issue/CORS-3936
CORS-3936: Add support for public-only networking
2025-04-12 22:03:43 +00:00
bear
f23601b1cd Bump version of capi-provider-aws to 17a09f59176ca6c80208768ddd8e7cb6f75a2155 2025-04-11 14:32:58 -03:00
cjschaef
e5276ff12f Update go modules and vendor
Update vendor and go.sum for using cluster-api components for
IBM Cloud CAPI bootstrap floating IP attachment.
2025-04-10 12:16:31 -05:00
openshift-merge-bot[bot]
6f399ca54a Merge pull request #9623 from cjschaef/ocpbugs-46601
OCPBUGS-46601: IBM Cloud Bump IBM Cloud CAPI
2025-04-04 20:36:40 +00:00
openshift-merge-bot[bot]
0cb08d13c8 Merge pull request #9596 from sadasu/update-capz-version
OCPBUGS-42241: Update to cluster-api-provider-azure release-v1.17.5
2025-04-01 20:37:43 +00:00
cjschaef
fcbd8f7f9c Bump IBM Cloud CAPI commit 2025-03-31 23:47:21 -05:00
vr4manta
68937e8cb8 Vendor updates 2025-03-31 11:37:18 -04:00
Sandhya Dasu
7d27244728 Update cluster-api-provider-azure to release-1.17.5
This will bring in the fix:
kubernetes-sigs/cluster-api-provider-azure#5497
2025-03-26 10:54:18 -04:00
openshift-merge-bot[bot]
fb99a993dc Merge pull request #9569 from sunku5494/CVE-2025-22868
NO-JIRA: CVE-2025-22868 bump oauth2 pkg to v0.27.0
2025-03-26 03:12:08 +00:00