2025-11-15 21:55:53 +00:00
|
|
|
---
|
|
|
|
|
apiVersion: v1
|
|
|
|
|
kind: ServiceAccount
|
|
|
|
|
metadata:
|
|
|
|
|
name: flux
|
|
|
|
|
namespace: monitoring
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/component: monitoring
|
2025-11-18 12:35:53 +00:00
|
|
|
toolkit.fluxcd.io/tenant: platform-team
|
|
|
|
|
---
|
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2025-11-18 13:35:23 +00:00
|
|
|
kind: ClusterRoleBinding
|
2025-11-18 12:35:53 +00:00
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/component: monitoring
|
|
|
|
|
toolkit.fluxcd.io/tenant: platform-team
|
2025-11-18 13:35:23 +00:00
|
|
|
name: flux-monitoring
|
2025-11-18 12:35:53 +00:00
|
|
|
roleRef:
|
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
2025-11-18 13:35:23 +00:00
|
|
|
kind: ClusterRole
|
|
|
|
|
name: cluster-admin
|
2025-11-18 12:35:53 +00:00
|
|
|
subjects:
|
2025-11-18 13:35:23 +00:00
|
|
|
- kind: ServiceAccount
|
|
|
|
|
name: flux
|
|
|
|
|
namespace: monitoring
|
2025-11-18 13:40:40 +00:00
|
|
|
---
|
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
|
kind: RoleBinding
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app.kubernetes.io/component: monitoring
|
|
|
|
|
toolkit.fluxcd.io/tenant: platform-team
|
|
|
|
|
name: metrics-server-auth-reader
|
|
|
|
|
namespace: kube-system
|
|
|
|
|
roleRef:
|
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
|
kind: Role
|
|
|
|
|
name: extension-apiserver-authentication-reader
|
|
|
|
|
subjects:
|
|
|
|
|
- kind: ServiceAccount
|
|
|
|
|
name: metrics-server
|
|
|
|
|
namespace: monitoring
|
2025-11-18 15:11:40 +00:00
|
|
|
---
|
|
|
|
|
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
|