ARO-RP/vendor/github.com/openshift/api/cloudnetwork
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
..
v1 Add controller to disable CPMS on ARO clusters (#3660) 2024-07-12 12:38:39 -06:00
OWNERS Spike - Cluster Operator Errors (#2703) 2023-04-27 12:32:30 -06:00
install.go Spike - Cluster Operator Errors (#2703) 2023-04-27 12:32:30 -06:00