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

47 Commits

Author SHA1 Message Date
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
Emilien Macchi
f31808f928 vendoring: bump gophercloud, CAPO and deps
* Update go.mod to have CAPO v0.11.1 (latest)
* `go mod tidy && go mod vendor`
2024-11-05 08:07:16 -05:00
Sandhya Dasu
0fb5e0bb7f Vendoring changes accompanying installer/go.mod changes 2024-06-21 10:37:00 -04:00
Pierre Prinetti
42e471ee57 openstack: Update Gophercloud to v2 2024-06-18 10:39:56 +02:00
Rafael Fonseca
d4e6184ecc update vendor 2024-06-13 22:10:40 +02:00
Mark Hamzy
cfbd1157c3 PowerVS: Vendoring the rest changes 2024-03-06 10:03:29 -06:00
Rafael Fonseca
4c07b37b7f update vendor 2024-01-23 18:04:58 +01:00
Vince Prignano
56175c97b1 go: update vendor dependencies
Signed-off-by: Vince Prignano <vincepri@redhat.com>
2023-11-01 11:43:46 -07:00
Pierre Prinetti
f2e94913a0 deps: Bump gophercloud to v1.6.0 2023-09-12 10:38:02 +02:00
Mark Hamzy
6f709ad771 PowerVS: Vendoring changes
Vendoring bump networking-go-sdk to v0.42.2
Include networking-go-sdk/transitgatewayapisv1
2023-07-25 15:33:53 -05:00
Rafael Fonseca
1c69206124 Bump terraform-exec version
So that we can send terraform debug logs to a file.
2022-12-06 15:07:17 +01:00
Andrew Butcher
3e1dc05531 Vendor changes from updating Nutanix Prism Go Client to c8a2536. 2022-09-08 16:47:15 -04:00
Zane Bitter
2741b93bfe Merge branch 'release-4.11' into agent-installer 2022-07-01 13:10:12 -04:00
Sid Shukla
2b9d6673c3 Add dependency on Nutanix Prism Go Client
Use prism-go-client instead of embedded client in nutanix terraform provider
for the installer.
2022-06-14 16:03:41 +02:00
Zane Bitter
e5da116a7d Merge branch 'master' into agent-installer 2022-06-06 16:47:28 -04:00
Sid Shukla
345e855c90 Update Nutanix terraform version to 1.5.0 for installer
The updated versions include bugfixes for various components.
2022-05-23 11:52:08 +02:00
Zane Bitter
fcba8e9247 Update dependencies
go mod tidy && go mod vendor
2022-04-29 16:49:14 -04:00
Sid Shukla
1b47676759 Add a dependency on Nutanix machine api provider
Check in the vendored dependency.
2022-03-19 17:33:05 +01:00
Christy Norman
51da6a85fe power vs installconfig assets: vendoring
a seperate commit for the vendor updates

Signed-off-by: Christy Norman <christy@linux.vnet.ibm.com>
2022-03-09 14:01:34 -06:00
staebler
f79f00a14d vendor: update to remove terraform and providers
* Replace terraform modules with github.com/hashicorp/terraform-exec.
* Remove all terraform providers.
* Remove all unneeded replaces.
* Tidy up the replace stanzas so that it is more clear why each replace is needed.
* Remove and re-create all indirect requires to clean up ones that are
  no longer needed.
2022-02-21 10:50:19 -05:00
staebler
af4738abfd vendor: update openshift/api to include some alibaba infra changes
* Update openshift/api to 6e0b1eb97188.
* Update kube modules to v0.23.0.
* Update controller-runtime to v0.11.0.
* Remove unused terraform-provider-kubernetes.
2022-01-21 16:51:22 -05:00
staebler
cfbc3543ac vendor: address eventually consistency creating aws dhcp options associations
Update terraform-provider-aws to v3.1.0-openshift-2. This change brings
in https://github.com/hashicorp/terraform-provider-aws/pull/18472 to fix
eventual consistency problems with the DHCP options association resource,
where terraform will balk when it gets told by AWS that the resource
does not exist shortly after creating the resource.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2032521
2021-12-16 07:26:03 -05:00
John Hixson
b79e5f59ae Upgrade to Terraform 0.14.6: update vendor 2021-12-14 09:52:37 -05:00
Marco Braga
d0c9922641 aws/ebs-gp3: update go.mod/terraform-provider-aws to support gp3
Bump terraform-provider-aws to pseudo v3.1.0-openshift-1 to minimal support
gp3 volume type.

This commit should be updated when the fork's PR will be merged and the new
tag 'v3.1.0-openshift-1' is created on the correct repo.

Dependency:
- https://github.com/openshift/terraform-provider-aws/pull/13

Required to change the default volumes on control-plane, reference:
- https://github.com/openshift/installer/pull/5239
2021-12-10 10:14:34 -03:00
Yaakov Selkowitz
7c73eab154 Revendor with golang 1.17 2021-11-24 02:02:14 -05:00
patrickdillon
f7f93ba95a go mod edit -require=github.com/openshift/api@master \
-replace=k8s.io/client-go=k8s.io/client-go@v0.22.0 \
            -replace=k8s.io/kube-openapi=k8s.io/kube-openapi@v0.0.0-20210305001622-591a79e4bda7

Bumps the OpenShift & k8s APIs. There seems to be a breaking change
in kube-openshift which breaks our kubevirt.io dependencies. I'm pinning
this to the earlier kube-openapi until these dependencies can be
updated.
2021-09-24 14:01:04 -04:00
patrickdillon
6fbadd44bf Vendor: Azure Stack Dependencies
Vendors the OpenShift fork of the Azure Stack Terraform provider and
azure sdk.
2021-07-23 18:06:09 -04:00
patrickdillon
fa76c3ee75 vendor: Revendor terraform-provider-ibm and dependencies
e1646dd3a3 introduced a dependency on
github.com/IBM/apigateway-go-sdk. The upstream repo was ambiguously
structured and has been fixed. This vendoring pulls in the updated
repos.
2021-07-14 16:51:36 -04:00
Hidematsu Sueki
f71d18f3c1 update vendor 2021-06-28 17:35:57 -04:00
Hidematsu Sueki
d6a5f959d6 ibmcloud: Add create cluster support
* wip: terraform wiring

* ibmcloud: dependencies for terraform-provider-ibm

* temp: Disable PlatformQuotaCheck

* fix(terraform): Update to work with installer

* feat(ibmcloud): Generate TF variables

* chore(ibmcloud): Placeholder for bootstrap removal

* chore: Remove ./_temp dependency

* chore: Reword TODO comments

Co-Authored-By: Bobby Radford <Bobby.Radford@ibm.com>

* Revert "temp: Disable PlatformQuotaCheck"

This reverts commit 29899cd0ff2e334dcfa29846495ad161533924a8.

* chore(ibmcloud): Add placeholder for quota checks

* fix(ibmcloud): Create resource group if set to empty

Co-authored-by: Bobby Radford <Bobby.Radford@ibm.com>
2021-06-28 16:54:47 -04:00
Bobby Radford
49b4da9f5b ibmcloud: Add scaffolding for the IBM Cloud platform
ibmcloud: add ibm cloud types

support the new ibm cloud platform by adding required types

ibmcloud: add initial assets

Add ibmcloud assets to support the new ibmcloud platform. These changes are functional, but additional functionality will be built out over time

ibmcloud: resolve linting issues

ibmcloud: obtain the cisInstanceCRN for install-config

The cisInstanceCRN field is derived from the user-provided baseDomain. It is needed for all DNS configuration.

types: fix ibmcloud machinepool file name

ibmcloud: rename platform ResourceGroupID field

Rename the field `ResourceGroupID` in the Platform type to
`ResourceGroup`

ibmcloud: add initial metadata

ibmcloud: add ClusterOSImage customization

The ClusterOSImage field will allow the user to specify the custom
RHCOS image to use for their cluster VSIs

ibmcloud: add fields to Platform type

Add the DefaultMachinePlatform, VPC, VPCResourceGroup, and Subnets
fields to the Platform type. These are needed to fully define a
cluster.

ibmcloud: improve platform validation and tests

Add in additional validation to the ibmcloud Platform. Also,
add unit tests around that new validation. This is just a start
and more validation and unit tests are required.

ibmcloud: fix linting issues

These issues were discovered using golangci-lint

ibmcloud: use resource group name in install config

Use the resource group name instead of ID in the install config. This
will be more human friendly. The ID will also still be valid, but
name will be preferred.

ibmcloud: improve default resource group check

Check for the default resource group based off of the 'default'
field in the resource group struct.

ibmcloud: fix typo

ibmcloud: remove vpcResourceGroup and use vpc ID

vpcResourceGroup is no longer needed if the vpc field holds the
ID of the VPC instead of the name.

ibmcloud: enforce clusterOSImage region

The clusterOSImage refers to a custom image in a user's VPC. That
image is regionally scoped and the region should be honored. Users
should not be allowed to pick a custom image from a region that
differes from the value of the region field in the install config.

ibmcloud: use resourcev2 API

The resourcev2 API should be used in place of v1. This is the most
up-to-date and well supported version.

ibmcloud: fix log message

Co-Authored-By: Hidematsu Sueki <Hidematsu.Sueki@ibm.com>

ibmcloud: add machinepool type and validation

Add the MachinePool type for the IBM Cloud platform. Also include
initial validation on the fields.

ibmcloud: update survey version

ibmcloud: use ibm go sdks instead of bluemix-go

The ibm-go-sdk and corresponding service SDKs in the IBM GH org
are more up-to-date and routinely supported. The old bluemix-go
SDKs should no longer be used.

update go mod

update vendor

fix: make validateVPCConfig a private function

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: improve log message for resource group not found

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: simplify subnet return statement

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: improve log message for vpc not found

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: images slice declaration

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: improve images range loop

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: typo in baseDomain help string

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: clarify resource group help message

fix: use platformPath as variable name

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: ibmcloud platform reference

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: remove unnecessary conditionals in validation

fix: check encryptionKey exists before validation

fix: improve zone validation message

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: keep errors out of happy path

fix: add index to subnets validation

fix: create VPCResourceNotFoundError

fix: use sets.String for contains

fix: ibmcloud platform type comments

fix: improve vpc config validation messages

fix: add omitempty for encryptionKey

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: improve BootVolume copying

Co-authored-by: Matthew Staebler <staebler@redhat.com>

fix: rename MachinePool.Type to InstanceType

fix: remove validateRegion

fix: remove unnecessary context from client

fix: remove context timeout in ic Platform

fix: remove superfluous edit

fix: update unit tests

fix: move types used by cilent to same package

fix: update OWNERS and OWNERS_ALIASES

fix: improve client call to load services

fix: improve GetZoneIDByName range loop

fix: whitepsace in OWNERS

fix: populate ibmcloud OWNERS_ALIASES

fix: make cisServiceID a const

Co-authored-by: Matthew Staebler <staebler@redhat.com>

ibmcloud: refactor resource groups

Allow users to have VPC resources in a different resource
group from the cluster creation. This will enable CI and E2E
testing along with making it easier to destroy clusters.

This commit also adds a "Name" suffix to resource groups to align
with other platforms naming convention.

fix: error message format

fix: update unit test

ibmcloud: move ibmcloud to hidden platforms

The IBMCloud platform will be in a developer preview for 4.9. As a result
we will move it to the list of hidden platforms. This commit does that by
default, but allows for it to show up in the survey via a build flag:
'ibmcloud'.

ibmcloud: remove cisInstanceCRN field

The cisInstanceCRN platform field is not needed. Though it is possible
to manage a single DNS zone with multiple CIS instances, only one zone
can be in the "Active" state at a time. As a result, we know which CIS
instance to use based off of its managed zone's state.

fix: address pr comments

update codegen
2021-06-15 11:30:15 -04:00
Etienne Simard
ba9d3893d0 Pin terraform-provider-azurerm to 2.48.0-openshift 2021-04-27 16:37:41 -04:00
Russell Teague
6e334ce497 vendor/hashicorp: Bump terraform-provider-vsphere
Use latest vsphere provider
https://issues.redhat.com/browse/CORS-1576
2021-02-17 10:33:15 -05:00
Nir Argaman
fe58208790 Go modules 2020-12-04 07:42:04 +02:00
Christian Glombek
b9028eea48 *: Migrate to ignition config spec v3.1
The installer now generates spec v3.1 ignition config,
instead of v2.2 (and v2.4 for openstack) as before.

The v3.1 ignition config specification can be found at [1].
A detailed overview of the differences between specs v2 and v3 can be found at [2].

Notable differences are:
- the `Filesystem` identifier on ignition file configs no longer exists
- `Overwrite` now defaults to `false` (was `true` in spec v2), which is why
it is now set explicitly to keep the same behaviour.
- duplicate file configs are now prohibited, i.e. all contents and
all appendices must be defined in a single config.
- duplicate systemd unit configs are now prohibited, i.e. the content
and all dropins  must be defined in a single config.

This commit:
- Bumps ignition to v2.3.0 with support for config spec v3.1.
- Bumps terraform-provider-ignition to v2.1.0.
Also adds downloading of the provider binary to `images/installer/Dockerfile.upi.ci`
which is necessary because the ignition v2/spec3 version from the
`community-terraform-providers/terraform-ignition-provider` fork is not
present in the provider registry that is maintained by Hashicorp and can
therefore not be pulled in automatically by terraform.
is not present in the
- Bumps machine-config-operator to b3b074ee9156
(latest commit at the time of this writing).
- Adds "github.com/clarketm/json" dependency for marshaling Ignition configs.
This is a dropin replacement for "encoding/json" that supports zero values of
structs with omittempty annotations when marshaling.
In effect, this will exclude empty pointer struct fields from the
marshaled data instead of inserting nil values into them, which do not
pass openAPI validation on fields that are supposed to contain e.g. strings.
The same library is used by machine-config-operator and ignition itself.
- Updates the vendor dir to make commit idempotent.

[1] https://github.com/coreos/ignition/blob/master/doc/configuration-v3_1.md
[2] https://github.com/coreos/ignition/blob/master/doc/migrating-configs.md#from-version-230-to-300

Co-authored-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2020-07-29 00:39:27 +02:00
Abhinav Dahiya
744820eb2e vendor: bump to fix tf panic on mac OS
Brings in vendor update for https://github.com/openshift/hashicorp-terraform/pull/4
2020-07-14 19:05:48 -07:00
John Hixson
f826aece02 vendor: bump terraform-provider-aws to to version v2.67.0 2020-07-06 10:38:18 -07:00
John Hixson
0d1367ce67 vendor: bump terraform-plugin-sdk to version v1.14.0 2020-07-06 10:38:12 -07:00
Abhinav Dahiya
9aed771f50 vendor: revendor terraform after dropping all backends
Pins the terraform to https://github.com/openshift/hashicorp-terraform/tree/v0.12.20-openshift-3
2020-06-29 14:23:59 -07:00
Honza Pokorny
f8b633844c baremetal: vendor: bump baremetal-operator
This updates baremetal-operator to pull in the latest changes including
hardware profiles.  The installer vendors hardware profiles from
baremetal-operator to keep the interface the same between
terraform-provisioned baremetal hosts and those provisioned by the
machine-api.

This is done by updating the entry in the `replace` clause of the go.mod
file.  Then, we run `go mod tidy`, followed by `go mod vendor`. This
breaks because the requested version of google.golang.org/grpc, v1.27.0,
changes the API in backwards-incompatible ways.  Thus, we also include a
new pin for this dependency to the previously requested version,
v1.25.0, which yields a working build.
2020-06-16 11:13:49 -03:00
patrickdillon
92070a4473 Bug 1767066: Vendor terraform update to fix symlink bug
Steps to create this commit:
1. update go.mod with new version of openshift/hashicorp-terraform
2. go mod tidy
3. go mod vendor
2020-02-27 16:03:28 -05:00
Christian Glombek
d02d3f048a Update vendor 2020-02-14 00:08:54 +01:00
W. Trevor King
d9ae9b3f50 vendor: Bump k8s.io/client-go to 9.0.0
8.0.0 is the version that's compatible with Kubernetes 1.11 [1], and
we've been using Kubernetes 1.11.3 for apimachinery since 2a606ef2
(vendor: bump apimachinery to 1.11.3, 2018-10-01, #382).  client-go
9.0.0 is nominally compatible with Kubernetes 1.12 [2], and I want
this for UntilWithoutRetry [3] which is new in 9.0.0 [4].

I edited Gopkg.toml by hand and regenerated everything else with:

  $ dep ensure

using:

  $ dep version
  dep:
   version     : v0.5.0
   build date  :
   git hash    : 22125cf
   go version  : go1.10.3
   go compiler : gc
   platform    : linux/amd64
   features    : ImportDuringSolve=false

I need to bump apimachinery into the 1.12 channel as well to avoid
(and now I match client-go's declared dependency [2]):

  $ dep ensure
  Solving failure: package k8s.io/apimachinery/pkg/util/naming does not exist within project k8s.io/apimachinery

naming is new in 1.12 [5] and we're pulling it with:

  $ git grep util/naming vendor
  vendor/k8s.io/apimachinery/pkg/runtime/scheme.go:				"k8s.io/apimachinery/pkg/util/naming"
  vendor/k8s.io/client-go/tools/cache/reflector.go:				"k8s.io/apimachinery/pkg/util/naming"
  $ git grep tools/cache vendor/k8s.io/client-go/tools/watch
  vendor/k8s.io/client-go/tools/watch/informerwatcher.go:	"k8s.io/client-go/tools/cache"
  vendor/k8s.io/client-go/tools/watch/until.go:						"k8s.io/client-go/tools/cache"

Then I needed to change client-go to an override to avoid:

  $ dep ensure
  Solving failure: package k8s.io/api/autoscaling/v2beta2 does not exist within project k8s.io/api

Besides the version bump, dep also pulled in libraries for waiting on
Kubernetes events.

[1]: 7d04d0e2a0
[2]: 1638f8970c
[3]: https://github.com/kubernetes/client-go/blob/v9.0.0/tools/watch/until.go#L47-L58
[4]: cbdb98d74d
[5]: 3c4948ecf2
2018-11-02 14:08:44 -07:00
Alex Crawford
de8e527126 vendor: remove unused dependencies
After removing the installer code, these dependencies were removed by
glide.
2018-09-27 22:57:28 -07:00
Alex Crawford
0c6d53b7d6 *: remove bazel
This removes all of the files which are directly required by bazel.
2018-09-27 22:13:02 -07:00
Enxebre
b00e40e175 vendor: Add client from sigs.k8s.io/cluster-api
This vendors the client for the Kubernetes cluster-api extension.
2018-09-13 15:11:23 -04:00