Граф коммитов

49 Коммитов

Автор SHA1 Сообщение Дата
Steven Fairchild a69a16029e Bump Hive Image to commit b1ac27b248159f179abf8c7e03e6ada5f17e86c0 - ARO-5063
Update default hive commit for config script
2024-07-08 13:11:43 -07:00
Steven Fairchild 24f43d8b6a
Revendor Hive Dependencies - ARO-5061 (#3578)
* Revender Hive Dependencies - ARO-5061

Revendering Hive Dependencies against hive commit git, commit 83aedb9f6e73f9668a3b96025c97052bfb1e5282, built at 2024-05-10T15:02:58Z

* Revender hive dependencies
2024-05-15 12:31:13 -04:00
Steven Fairchild 6bd01cddf4
Revendor hive to 5fbe0d158ba9 (#3377)
* Increase golangci-lint verbosity

* Revender hive to 9dd47f8bfa1f
2024-02-12 10:13:32 -05:00
Steven Fairchild 72fd8ad97c
Update Go Vendored Modules - ARO-4776 (#3302)
* MDM Image Bump - ARO-4792

Update MDM image to genevamdm:2.2023.1118.1225-d7e0d6-20231118t1338

* Update k8s.io/kubernetes - ARO-4776
Update Go vendored modules to fix:
  - [GHSA-hq6q-c2x6-hmch](https://github.com/advisories/GHSA-hq6q-c2x6-hmch)
2023-12-01 13:39:42 -05:00
Kipp Morris 9a9edacf6b
Update ARO operator Azure auth scheme to use a DefaultAzureCredential (#3274)
* Update the cluster authorizer to use a DefaultAzureCredential

* Update the ARO operator to set and use DefaultAzureCredential via env vars

* Add a CredentialsRequest to the ARO operator deployment

* Restart the ARO operator upon `az aro update`

* Removed now unused AzCredentials function

* Changed ARO operator deployment wait time during `az aro update` from
  20 minutes -> 5 minutes

* Refactor CliWithApply to generalize to different object types

* Updated Restart in pkg/util/kubernetes to use server-side apply
* Updated Restart in pkg/operator/deploy to only return an error after
  at least attempting to restart all of the deployments passed in

* E2E test for ARO operator master deployment's restart upon cluster update

* Wait for the ARO operator's CredentialsRequest to be reconciled before
restarting
2023-11-28 10:45:00 -05:00
Christoph Blecker b108c4ddbd go mod vendor 2023-09-01 16:53:58 -04:00
Christoph Blecker 48a46997ad
go mod vendor 2023-09-01 10:25:45 -07:00
dependabot[bot] 6e5083d30f
Bump github.com/sigstore/rekor from 1.0.1 to 1.2.0 (#3138)
Bumps [github.com/sigstore/rekor](https://github.com/sigstore/rekor) from 1.0.1 to 1.2.0.
- [Release notes](https://github.com/sigstore/rekor/releases)
- [Changelog](https://github.com/sigstore/rekor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sigstore/rekor/compare/v1.0.1...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/sigstore/rekor
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 10:07:04 -04:00
Eric Fried d32c09410f
Revendor hive to 70b666ec8
Hive needs to be vendored at the same commit level as it is deployed in
ARO. One reason, as described in the linked card, is that changes in
APIs can lead to unintended edits during round-trip Get()/Update()
flows.

ARO-3801
2023-08-25 10:52:26 -05:00
Amber Brown 12f1466e35
Remove the inbuilt installer (#3030)
* axe the build tags

* graph removals

* remove installer code

* go mod tidy

* go mod vendor
2023-07-18 14:56:23 +10:00
Matthew Barnes 156383c4a6
Migrate RP from Azure AD Graph to Microsoft Graph (#1970)
* go.mod: Add github.com/microsoftgraph/msgraph-sdk-go

* azureclient: Add NewGraphServiceClient

Creates a GraphServiceClient with scope and graph endpoint set
appropriately for the cloud environment (public or US government).

* pkg/util/graph: Add GetServicePrincipalIDByAppID

* armhelper: Use MS Graph to obtain service principal ID

* armhelper: Remove unused authorizer parameter

* Use MS Graph endpoint to validate service principal

I don't think it matters for the purpose of validation, but the
AD Graph endpoint is nearing its end-of-life.

* pkg/cluster: Use MS Graph to obtain service principal ID

* pkg/util/cluster: Use MS Graph to create and delete clusters

* Pretty-print OData errors from MS Graph

To aid debugging failed MS Graph requests.

MS Graph's top-level APIError message is hard-coded and only says
"error status code received from the API".  Further details have
to be extracted from the "ODataErrorable" interface type.

* azureclient: Remove ActiveDirectoryGraphScope

No longer used.

* Remove pkg/util/azureclient/graphrbac

No longer used.

* pipelines: Run CodeQL analysis for Go on 1ES Hosted Pool

Vendoring the Microsoft Graph SDK for Go causes memory consumption
during CodeQL analysis to double due to its enormous API surface,
putting it well beyond the memory limit of standard GitHub Action
runners.

I inquired with the Azure organization admins about provisioning
larger GitHub runners, but was directed instead to use the 1ES
Hosted Pool which runs our other CI checks. Since ARO controls
the VM type for Hosted Pool agents, we can use a VM type with
adequate memory for CodeQL analysis with the Graph SDK.

Note: Implemented CodeQL commands in a template in case we
      ever decide to move Javascript or Python analysis to
      1ES Hosted Pool as well.
2023-06-14 11:10:37 -06:00
Jeff Yuan dbb42a4414 Merge branch 'master' 2023-05-08 18:37:17 +12:00
Tanmay Satam d1600a0313
Spike - Cluster Operator Errors (#2703)
* ARO Cluster Operator Status derives the Cluster Operator's Available/Progressing/Degraded conditions from the state of its controllers
* Implements controller status conditions on the node operator controller
2023-04-27 12:32:30 -06:00
Amber Brown 472d035f7e
Move CI/dev tool usage to use go run pkg@version to reduce the number of vendored dependencies (#2789)
Use the new go run thing@version for test/CI items to remove vendoring
2023-03-24 10:01:05 +11:00
Jeff Yuan 5fefad4b19 merge with master plus some adaptions 2023-02-28 16:07:07 +13:00
Matthew Barnes 458322d9c0 go.mod: Unpin github.com/go-logr/logr
Vendors in the latest release: v1.2.3

v1.0.0 introduced breaking changes, so additional dependency bumps
were necessary:

k8s.io/klog/v2 v2.8.0 => latest
sigs.k8s.io/controller-runtime v0.9.1 => v0.11.2
2023-02-27 15:49:39 -05:00
Jeff Yuan 878d9e5169 vendor update 2022-11-24 00:23:29 +13:00
Srinivas Atmakuri bb8544e602 Make monitor ignore pre-empted completed pods
Completed pods that were pre-empted count as not ready,
despite being completed
2022-07-20 09:09:33 +05:30
Mikalai Radchuk 5ab9a3e095
Vendoring: update Hive to the latest version (#2263)
* Updates vendoring docs and scripts

* Makes use of `go mod tidy -compat=1.17`:
  we do not have to be compatible with prior versions.
  Saves a bit of headache when dealing with dependencies.
* Makes `hack/update-go-module-dependencies.sh` ignore `github.com/openshift/hive`:
  it is not part of OCP dependencies and is not following `release-4.Y` branching.
  We want to update it separately.

* Vendoring: update Hive to the latest version

* make generate
2022-07-19 13:44:23 -04:00
darthhexx 1c4e98933e Vendor installer release 4.10
Switches to go.1.17, OCP 4.10, and Kubernetes 1.23 modules.
2022-05-25 14:49:12 +10:00
Matthew Barnes ee426a7ba8 Automated updates from "make vendor" 2022-01-25 11:47:15 -05:00
Mikalai Radchuk b873abf19c make vendor 2021-09-08 15:53:40 +01:00
Mikalai Radchuk 54923fd916 make vendor 2021-05-27 16:41:03 +01:00
Jim Minter 58a55b61fc
vendor 2021-03-09 12:17:40 -06:00
Jim Minter 7f899fc964
vendor 2021-03-02 19:06:04 -06:00
Jim Minter bd4fe39462
vendor 2021-02-26 17:14:49 -06:00
Mangirdas Judeikis 7b2ad48091
vendor update 2021-01-28 12:04:55 +00:00
Amber Brown 9da0248baf
vendor 2021-01-19 10:08:04 -06:00
Mikalai Radchuk 5d611e3036 make vendori & make generate 2020-12-03 14:20:23 +00:00
Jim Minter e5276893ce
vendor 2020-11-18 09:57:35 -06:00
Mangirdas Judeikis 3d325e68c6
move to go.mod, add deps.go, upgrade dependencies, vendor 2020-11-06 11:35:56 -06:00
Angus Salkeld a248811b80
vendor 2020-07-28 10:51:14 +01:00
Mangirdas Judeikis 0008eb56d9
vendor k8s.io/client-go 2020-07-06 13:23:55 +01:00
Mangirdas Judeikis 457e540b4a
vendor k8s.io/apimachinery 2020-07-06 13:23:55 +01:00
Mangirdas Judeikis 4e328c895b
vendor github.com/openshift/kubernetes-api 2020-07-06 13:23:54 +01:00
Mikalai Radchuk 93d2da5684 Vendor 2020-06-23 13:59:31 +01:00
Jim Minter 974c3ff823
vendor 2020-04-16 21:28:15 -05:00
Jim Minter acafad8b33
vendor 2020-04-15 20:13:47 -05:00
Angus Salkeld f9333e4ccf
vendor dynamic/fake 2020-04-15 16:02:38 -05:00
Angus Salkeld e4b6b91d1a
vendor dynamic 2020-03-30 11:06:40 +10:00
Nils Elde 22c1f6d589 vendor 2020-03-24 18:04:32 -04:00
Julien Stroheker b609c03475
vendor 2020-03-02 20:06:42 -06:00
Jim Minter 0067182632
vendor 2020-02-26 22:53:29 -06:00
Nils Elde 24468a51ef
Add two unit tests to install package (#211)
* vendor

* Add two unit tests
2020-02-26 09:10:24 -06:00
Mangirdas Judeikis 257c8e2822 vendor 2020-01-21 09:59:27 +00:00
Jim Minter 55653a3f26
vendor 2019-11-28 07:11:32 -06:00
Jim Minter 3e0517130f
vendor updates 2019-11-20 10:01:40 -06:00
Jim Minter c9197c4b0c
allow worker scaling 2019-10-18 20:15:09 -05:00
Jim Minter 561fb3b639
Initial commit 2019-10-15 22:43:52 -05:00