Skip to content

Commit 3792eaa

Browse files
authoredApr 8, 2024
Fix MCP permissions to allow pausing and unpausing pools (#70)
1 parent d2c9ba5 commit 3792eaa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎config/rbac/role.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ rules:
4747
verbs:
4848
- get
4949
- list
50+
- patch
51+
- update
5052
- watch
5153
- apiGroups:
5254
- managedupgrade.appuio.io

‎controllers/upgrading_metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
)
2323

2424
//+kubebuilder:rbac:groups=config.openshift.io,resources=clusterversions,verbs=get;list;watch;update;patch
25-
//+kubebuilder:rbac:groups=machineconfiguration.openshift.io,resources=machineconfigpools,verbs=get;list;watch
25+
//+kubebuilder:rbac:groups=machineconfiguration.openshift.io,resources=machineconfigpools,verbs=get;list;watch;update;patch
2626

2727
var clusterUpgradingDesc = prometheus.NewDesc(
2828
MetricsNamespace+"_cluster_upgrading",

0 commit comments

Comments
 (0)