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

686 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
John Hixson
d05387abb8 go mod vendor for AWS GP3 changes 2025-12-01 17:12:41 -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
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
89d9849658 vendor: capi v1.11 & openshift/api
go mod vendor
2025-11-11 16:19:45 -05:00
Sandhya Dasu
8e645aa4e8 Update verndoring 2025-11-03 14:35:07 -05:00
Patrick Dillon
2794b5d7d2 go mod vendor 2025-10-30 16:15:52 -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
4fcea32b3b Fix package updates for vendoring. 2025-09-16 13:27:28 -04:00
openshift-merge-bot[bot]
bcf37578ef Merge pull request #9933 from mhanss/update-icsp
OCPBUGS-61490: Update code to retrieve ICSP instead of ICP
2025-09-16 13:24:30 +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
mhanss
9d44d9bd2f OCPBUGS-61490: Update code to retrieve ICSP instead of ICP 2025-09-11 09:53:01 +02: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
0fb323ef80 vendor: stream-metadata-go & armcompute
go mod tidy && go mod vendor
2025-08-21 11:48:52 -04:00
Thuan Vo
ab1ef324bf vendor: go mod vendor 2025-08-15 00:34:18 -07:00
Thuan Vo
9b89713e98 vendor: go mod vendor 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]
376af3afc7 Merge pull request #9724 from gryf/OCPBUGS-18510
OCPBUGS-18510: Refactor removing loadbalancer in OpenStack.
2025-06-24 12:03:32 +00: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
Roman Dobosz
c476567887 Refactor removing loadbalancer in OpenStack.
Currently, the approach for removing OpenStack loadbalancers is to look
for appropriate tag (i.e. openshiftClusterID=<cluster_id>) and then
delete it. Issue with this approach is that no such tags are applied on
the loadbalancer resources, and also there is no such tag in description
field. Hence, deleteLoadBalancer function will give 0 results for
existing loadbalancers, as they have no such tag either in tags nor on
description.

With this patch, deleteLoadBalancer has been refactored to get all the
loadbalancers and filter out that resources which have ClusterID in
description, so that they will be safely deleted.
2025-06-04 12:09:14 +02: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
4039cf6196 Vendor: CAPZ & ASO Bump
go mod vendor in
top-level
cluster-api/providers/azure
cluster-api/providers/azureaso
2025-05-28 13:10:41 -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
bear
cd2991ec1a go mod 2025-04-11 14:32:59 -03: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
0fe9c4748c Vendoring updates accompanying the CAPZ version bump 2025-03-26 10:54:43 -04:00
barbacbd
9b208078ff CORS-3918: Send service endpoint overrides to CAPG through cluster spec
** Vendoring updates for CAPG upgrades to latest commit.
2025-03-24 10:08:25 -04:00
openshift-merge-bot[bot]
b6f02329ac Merge pull request #9538 from patrickdillon/azure-identity-cors-3878
CORS-3883, CORS-3861, CORS-3937: Azure Machine Identity API
2025-03-22 08:35:14 +00:00