Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSD-6646: Deploy monitoring ClusterRoleBinding
Browse files Browse the repository at this point in the history
Since
openshift/configure-alertmanager-operator#147,
configure-alertmanager-operator needs to bind to the
`cluster-monitoring-view` ClusterRole in order to talk to prometheus.
However, due to OLM limitations, that ClusterRoleBinding can't be
deployed with c-am-o's CSV. Therefore we deploy it from here.

OSD-6646
2uasimojo committed Mar 18, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1e2080e commit d43f632
Showing 2 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: configure-alertmanager-operator.prom
namespace: openshift-monitoring
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-monitoring-view
subjects:
- kind: ServiceAccount
name: configure-alertmanager-operator
namespace: openshift-monitoring
4 changes: 4 additions & 0 deletions deploy/configure-alertmanager-operator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# RBAC for configure-alertmanager-operator

This directory contains RBAC artifacts for configure-alertmanager-operator that can't be deployed through OLM.
All other RBAC artifacts should be defined in https://github.com/openshift/configure-alertmanager-operator/tree/master/manifests.

0 comments on commit d43f632

Please sign in to comment.