Skip to content

Commit

Permalink
Add infrastructures.config.openshift.io to cluster-monitoring-operato…
Browse files Browse the repository at this point in the history
…r role
  • Loading branch information
csrwng committed Mar 20, 2020
1 parent 3bf6117 commit 5071ece
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions hack/cluster-monitoring-operator-role.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ rules:
- apiGroups: ["config.openshift.io"]
resources: ["clusterversions"]
verbs: ["get"]
- apiGroups: ["config.openshift.io"]
resources: ["infrastructures"]
verbs: ["get"]
- apiGroups: ["config.openshift.io"]
resources: ["proxies"]
verbs: ["get"]
Expand Down
8 changes: 7 additions & 1 deletion manifests/0000_50_cluster_monitoring_operator_02-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
# assets/prometheus-k8s/cluster-role.yaml
# assets/prometheus-k8s/role-config.yaml
# assets/prometheus-k8s/role-specific-namespaces.yaml
# assets/prometheus-operator-user-workload/cluster-role.yaml
# assets/prometheus-operator/cluster-role.yaml
# assets/prometheus-operator-user-workload/cluster-role.yaml
# assets/prometheus-user-workload/cluster-role.yaml
# assets/prometheus-user-workload/role-config.yaml
# assets/prometheus-user-workload/role-specific-namespaces.yaml
Expand Down Expand Up @@ -106,6 +106,12 @@ rules:
- clusterversions
verbs:
- get
- apiGroups:
- config.openshift.io
resources:
- infrastructures
verbs:
- get
- apiGroups:
- config.openshift.io
resources:
Expand Down

0 comments on commit 5071ece

Please sign in to comment.