Skip to content

Commit

Permalink
Add owner label to endpoint-observability RBAC resources
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Camata <[email protected]>
  • Loading branch information
douglascamata committed May 31, 2024
1 parent 9fcfdd6 commit c8cd888
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ metadata:
name: aggregate-observabilityaddons-edit
labels:
rbac.authorization.k8s.io/aggregate-to-admin: "true"
owner: "multicluster-observability-operator"
rules:
- verbs:
- get
Expand All @@ -15,4 +16,4 @@ rules:
apiGroups:
- observability.open-cluster-management.io
resources:
- observabilityaddons
- observabilityaddons
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: open-cluster-management:endpoint-observability-operator
labels:
owner: "multicluster-observability-operator"
rules:
- apiGroups:
- apiextensions.k8s.io
Expand Down Expand Up @@ -217,4 +219,3 @@ rules:
- get
- list
- watch

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: open-cluster-management:endpoint-observability-operator-rb
labels:
owner: "multicluster-observability-operator"
subjects:
- kind: ServiceAccount
name: endpoint-observability-operator-sa
Expand Down

0 comments on commit c8cd888

Please sign in to comment.