mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-22 13:00:19 +00:00
49 lines
1015 B
YAML
49 lines
1015 B
YAML
|
apiVersion: v1
|
||
|
kind: ServiceAccount
|
||
|
metadata:
|
||
|
name: fluentd-gcp-scaler
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
addonmanager.kubernetes.io/mode: Reconcile
|
||
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: Role
|
||
|
metadata:
|
||
|
name: system:fluentd-gcp-scaler
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
addonmanager.kubernetes.io/mode: Reconcile
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- "extensions"
|
||
|
resources:
|
||
|
- daemonsets
|
||
|
verbs:
|
||
|
- get
|
||
|
- patch
|
||
|
- apiGroups:
|
||
|
- "scalingpolicy.kope.io"
|
||
|
resources:
|
||
|
- scalingpolicies
|
||
|
verbs:
|
||
|
- get
|
||
|
---
|
||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: RoleBinding
|
||
|
metadata:
|
||
|
name: fluentd-gcp-scaler-binding
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
addonmanager.kubernetes.io/mode: Reconcile
|
||
|
roleRef:
|
||
|
apiGroup: rbac.authorization.k8s.io
|
||
|
kind: Role
|
||
|
name: system:fluentd-gcp-scaler
|
||
|
subjects:
|
||
|
- kind: ServiceAccount
|
||
|
name: fluentd-gcp-scaler
|
||
|
namespace: kube-system
|