Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
fix: use correct rbac for grafana controller
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanGalloway committed Apr 7, 2022
1 parent b4a4b32 commit e3b6f48
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions manifests/monitoring/grafana-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
creationTimestamp: null
name: grafana-role
name: manager-role
rules:
- apiGroups:
- ""
Expand Down Expand Up @@ -276,7 +276,7 @@ apiVersion: v1
kind: Service
metadata:
labels:
control-plane: controller-manager
control-plane: grafana-operator
name: grafana-operator-metrics-service
namespace: monitoring
spec:
Expand All @@ -286,7 +286,7 @@ spec:
protocol: TCP
targetPort: https
selector:
control-plane: controller-manager
control-plane: grafana-operator
---
# https://raw.githubusercontent.com/grafana-operator/grafana-operator/master/deploy/manifests/v4.1.1/deployment.yaml
apiVersion: v1
Expand All @@ -305,15 +305,15 @@ data:
resourceName: 2c0156f0.integreatly.org
kind: ConfigMap
metadata:
name: grafana-operator-config
name: manager-config
namespace: monitoring
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
control-plane: controller-manager
name: grafana-controller
control-plane: grafana-operator
name: grafana-operator
namespace: monitoring
annotations:
com.flanksource.infra.logs/processors.0.drop_event.when.contains.message: SUCCESS
Expand All @@ -324,13 +324,13 @@ spec:
replicas: 1
selector:
matchLabels:
control-plane: controller-manager
control-plane: grafana-operator
strategy:
type: Recreate
template:
metadata:
labels:
control-plane: controller-manager
control-plane: grafana-operator
spec:
containers:
- args:
Expand Down

0 comments on commit e3b6f48

Please sign in to comment.