most már csak jó lesz
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-12-13 05:01:10 +01:00
parent d4e3032999
commit 2f51866ad3

View File

@ -37,17 +37,16 @@ data:
REDIS_URL: "redis://birb-scheduler-redis:6379/0" REDIS_URL: "redis://birb-scheduler-redis:6379/0"
COLLECTOR_URL: "http://birb-latency-collector/report/" COLLECTOR_URL: "http://birb-latency-collector/report/"
--- ---
kind: Role kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: birb-scheduler-role name: birb-scheduler-role
namespace: turbomemer
rules: rules:
- apiGroups: ["types.kubefed.io"] - apiGroups: ["types.kubefed.io"]
resources: ["federateddeployments"] resources: ["federateddeployments"]
verbs: ["get", "list", "watch", "update", "patch"] verbs: ["get", "list", "watch", "update", "patch"]
--- ---
kind: RoleBinding kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: birb-scheduler-role-binding name: birb-scheduler-role-binding
@ -55,8 +54,9 @@ metadata:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: birb-scheduler-account name: birb-scheduler-account
namespace: turbomemer
roleRef: roleRef:
kind: Role kind: ClusterRole
name: birb-scheduler-role name: birb-scheduler-role
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
--- ---