Skip to content

Commit

Permalink
fix: added metric-operator prefix to related ClusterRole and ClusterR…
Browse files Browse the repository at this point in the history
…oleBindings (#1042)

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
  • Loading branch information
bacherfl committed Mar 13, 2023
1 parent f3511f1 commit 92d16a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metrics-operator/config/metrics/role.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: server-resources
name: metrics-operator-server-resources
rules:
- apiGroups:
- custom.metrics.k8s.io
Expand Down
4 changes: 2 additions & 2 deletions metrics-operator/config/metrics/role_binding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ subjects:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: hpa-controller-keptn-metrics
name: metrics-operator-hpa-controller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: server-resources
name: metrics-operator-server-resources
subjects:
- kind: ServiceAccount
name: horizontal-pod-autoscaler
Expand Down

0 comments on commit 92d16a3

Please sign in to comment.