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

24 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
Petr Kotas d6df477207 vendor: fake operator client
Signed-off-by: Petr Kotas <pkotas@redhat.com>
2022-03-16 09:25:56 +01:00
Ross Bryan ecc5f8ea55 exclude vuln protobuf 2022-03-02 19:50:38 -05: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
Mangirdas Judeikis 5a05b7d720
vendor installer 2021-08-06 08:33:45 +01:00
Mikalai Radchuk 54923fd916 make vendor 2021-05-27 16:41:03 +01:00
Drew Anderson bb4ad52e63 go get "sigs.k8s.io/controller-tools@v0.5.0"
go get "sigs.k8s.io/controller-tools@v0.5.0"
go mod tidy
go mod vendor
2021-04-01 13:18:17 +02:00
Jim Minter 58a55b61fc
vendor 2021-03-09 12:17:40 -06: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
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 bd7da04686
vendor sigs.k8s.io/cluster-api-provider-azure 2020-07-06 13:23:55 +01:00
Mangirdas Judeikis 257c8e2822 vendor 2020-01-21 09:59:27 +00:00
Jim Minter 864f9f5d6c
vendor 2019-11-29 18:51:18 -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