Compare commits
No commits in common. "6603bd73ced767c680f88ca671fd3502d789c5ff" and "833c01becbd6ea99482fe4981ee50d13aa30ea04" have entirely different histories.
6603bd73ce
...
833c01becb
@ -9,6 +9,22 @@ metadata:
|
|||||||
toolkit.fluxcd.io/tenant: platform-team
|
toolkit.fluxcd.io/tenant: platform-team
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: ClusterRoleBinding
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/component: monitoring
|
||||||
|
toolkit.fluxcd.io/tenant: platform-team
|
||||||
|
name: flux-monitoring
|
||||||
|
roleRef:
|
||||||
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
kind: ClusterRole
|
||||||
|
name: cluster-admin
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: flux
|
||||||
|
namespace: monitoring
|
||||||
|
---
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@ -26,22 +42,20 @@ subjects:
|
|||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: system:metrics-server
|
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/component: monitoring
|
app.kubernetes.io/component: monitoring
|
||||||
toolkit.fluxcd.io/tenant: platform-team
|
toolkit.fluxcd.io/tenant: platform-team
|
||||||
rules:
|
name: system:metrics-server
|
||||||
- apiGroups: [""]
|
roleRef:
|
||||||
resources: ["pods", "nodes", "nodes/stats", "nodes/log", "services", "endpoints"]
|
apiGroup: rbac.authorization.k8s.io
|
||||||
verbs: ["get", "list", "watch"]
|
kind: ClusterRole
|
||||||
- apiGroups: ["metrics.k8s.io"]
|
name: system:metrics-server
|
||||||
resources: ["pods", "nodes"]
|
subjects:
|
||||||
verbs: ["get", "list", "watch"]
|
- kind: ServiceAccount
|
||||||
- apiGroups: ["coordination.k8s.io"]
|
name: metrics-server
|
||||||
resources: ["leases"]
|
namespace: monitoring
|
||||||
verbs: ["get", "list", "watch", "create", "update", "patch"]
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
@ -54,39 +68,6 @@ rules:
|
|||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: monitoring
|
|
||||||
toolkit.fluxcd.io/tenant: platform-team
|
|
||||||
name: flux-monitoring
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: cluster-admin
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: flux
|
|
||||||
namespace: monitoring
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app.kubernetes.io/component: monitoring
|
|
||||||
toolkit.fluxcd.io/tenant: platform-team
|
|
||||||
name: system:metrics-server
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: system:metrics-server
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: metrics-server
|
|
||||||
namespace: monitoring
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
metadata:
|
||||||
name: metrics-server-subjectaccessreview-binding
|
name: metrics-server-subjectaccessreview-binding
|
||||||
roleRef:
|
roleRef:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user