Skip to content

Commit

Permalink
Fix MCP permissions to allow pausing and unpausing pools (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastjan authored Apr 8, 2024
1 parent d2c9ba5 commit 3792eaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ rules:
verbs:
- get
- list
- patch
- update
- watch
- apiGroups:
- managedupgrade.appuio.io
Expand Down
2 changes: 1 addition & 1 deletion controllers/upgrading_metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
)

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

var clusterUpgradingDesc = prometheus.NewDesc(
MetricsNamespace+"_cluster_upgrading",
Expand Down

0 comments on commit 3792eaa

Please sign in to comment.