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

88 Коммитов

Автор SHA1 Сообщение Дата
Ayato Tokubi d89a378897
Check Role Definition for MIWI (#3876)
* bump cluster-credentials-operator

* add Get to roledefinitions client

* check script

* pipeline

* use parameters

* change target-version help message

* vendor

* fix role.go

* use candidate channel

* use operator names in RP-Config

* modify the output format

* changed to use quay.io API

* add some comments

* remove pipeline resource

* change role definition names
2024-10-24 12:35:57 -04:00
Ayato Tokubi bd0229df01
Add route smoke-test (#3784) 2024-08-22 21:13:13 +02:00
Tanmay Satam 976404a1ab Update openshift/client-go to release-4.12 2024-07-15 16:07:43 -04:00
Tanmay Satam 1b6e0e7584
Add controller to disable CPMS on ARO clusters (#3660)
* Update openshift/api to release-4.12

* Add machinev1 resources to scheme

* Add CPMSDeactivatorEnabled flag

* Add CPMS Deactivator operator controller

* Add controlplanemachinesets to system:aro-sre ClusterRole

* Use better naming convention for CPMS controller flag

* Change debug log messages to info

* Make CPMS controller exit early if clusterversion < 4.12

* Only setup CPMS controller on clusters with machinev1 API

This is necessary in order to Watch the CPMS resource - this operation will fail on
clusters that do not support the Machine V1 API (OCP <= 4.11), causing controller
setup to fail. Since these clusters do not have a CPMS resource to manage, we can
safely skip running this controller on those clusters.

* Fix CPMS controller name
2024-07-12 12:38:39 -06:00
Amber Brown 7a415b07de
Remove unneeded OpenShift pins & imports (#3430)
* Remove dependencies on console-operator and cluster-api-azure

* remove the forks that we don't use

* go mod updates

* go mod vendor

* stop relying on the providerspec being registered in tests

* cleanups

* update go sum

* test coverage fixes
2024-03-12 16:23:44 +11:00
Lisa Rashidi-Ranjbar b86781166e ARO-4779: Update hive dependency to close vulns 2023-11-29 15:43:28 -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
bennerv 6fa30d22dc Bump openshift dependencies 2023-09-01 17:39:42 -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
Daniel Holmes 386753af33
Remove reliance on hiveclient set which in-turn relies on openshift installer (#2806)
* chore(hive): Replace hive clientset with controller-runtime client

* chore(hive): Replace clientset with controller-runtime

* chore(vendor): Tidy dependencies up

* chore(hive): Remove vendored clientset
2023-06-02 12:21:09 +10: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
Shawn Bai 17754ace6c
To detect and show the unsupported conditions on the console banner (#2166) 2023-02-10 15:07:00 +11:00
darthhexx 4fba704abb Found a cleaner way to ignore the unknown fields 2023-02-02 08:12:55 +01:00
darthhexx 9dfb629f16 Optional platform settings that need to be present for updateClusterData 2023-02-02 08:12:55 +01:00
Mikalai Radchuk 4d92ce60a1 go mod vendor 2023-01-18 15:22:02 -05:00
Mikalai Radchuk f216945448 go mod vendor 2023-01-17 10:51:47 +00:00
Mikalai Radchuk e3135d0fdf go mod vendor 2022-08-02 16:58:08 +01:00
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
Amber Brown 4dd364aac5 run go mod vendor 2022-07-04 13:13:56 +01: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
Mangirdas Judeikis 5e1ad155d6 vendor 2022-02-15 13:18:08 -06:00
bennerv e1f3ad7fcb Vendor openshift installer carry patch 2022-02-08 09:14:38 -05:00
Matthew Barnes ee426a7ba8 Automated updates from "make vendor" 2022-01-25 11:47:15 -05:00
Mangirdas Judeikis 6e22b152b4 vendor 2021-09-16 14:13:40 -04:00
Mikalai Radchuk b873abf19c make vendor 2021-09-08 15:53:40 +01:00
Leszek Jakubowski d73e128386
Adding ARO SRE notification banner controller (#1589) 2021-08-23 12:23:37 +01:00
Mangirdas Judeikis 5a05b7d720
vendor installer 2021-08-06 08:33:45 +01:00
Mangirdas Judeikis cce5dfe175
vendor 2021-07-16 10:32:57 +01:00
Mikalai Radchuk b7535616d6 Vendor update 2021-07-05 15:49:38 +01:00
Ben Vesel ff3526bafb
Vendor installer to use ignition v2 for backwards compatibility (#1529) 2021-06-04 10:11:16 +01:00
Mikalai Radchuk 54923fd916 make vendor 2021-05-27 16:41:03 +01:00
Mangirdas Judeikis 8547640adb
Fix IP address resolution 2021-04-23 15:33:37 +01:00
Leszek Jakubowski 96e2656339 DNSMasq override fix 2021-04-22 12:14:53 +02:00
Mikalai Radchuk cf47950363 Vendor 2021-04-14 13:45:16 +01:00
bennerv 1ce3b0ce9b Vendor installer dnsmasq bugfix 2021-04-07 16:48:30 -04:00
gvanderpotte cccecd0ca0 vendor new version of our fork of openshift installer 2021-03-22 11:52:48 +01: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
Jim Minter 8117d9466e
vendor 2021-02-23 11:38:47 -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
Jim Minter 762b709a6b
vendor 2021-01-04 09:21:34 -06:00
Jim Minter e4360af2b0
vendor 2020-11-16 13:55:40 -06:00
Mangirdas Judeikis 3d325e68c6
move to go.mod, add deps.go, upgrade dependencies, vendor 2020-11-06 11:35:56 -06:00
Olga Mirensky c4b5b99f26 vendor 2020-08-06 10:20:43 +10:00
Troy Connor 8fb9f0a4ea
[vendor]Add vendor to repository 2020-07-14 17:02:31 -04:00
Leszek Jakubowski 5c100f1580
vendor 2020-07-10 15:45:00 -05:00
Mangirdas Judeikis 08dd636a61
vendor openshift/cloud-credential-operator 2020-07-06 13:23:56 +01:00
Mangirdas Judeikis e0df422581
vendor github.com/openshift/installer 2020-07-06 13:23:56 +01:00