Fixed k8s stuff
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-12-13 04:20:12 +01:00
parent dba71002b4
commit 1edaa76cbc

View File

@ -3,6 +3,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: birb-scheduler name: birb-scheduler
namespace: turbomemer
spec: spec:
replicas: 1 replicas: 1
template: template:
@ -28,17 +29,19 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: birb-scheduler-config name: birb-scheduler-config
namespace: turbomemer
data: data:
SENTRY_DSN: "" SENTRY_DSN: ""
SITES: "edge-1;http://192.168.111.100:30420/ edge-2;http://192.168.112.100:30420/ cloud;http://192.168.110.100:30420/" SITES: "edge-1;http://192.168.111.100:30420/ edge-2;http://192.168.112.100:30420/ cloud;http://192.168.110.100:30420/"
DEBUG: "yes" DEBUG: "yes"
REDIS_URL: "redis://birb-scheduler-redis:6379/0" REDIS_URL: "redis://birb-scheduler-redis:6379/0"
COLLECTOR_URL: "http://192.168.110.100:30420/report" COLLECTOR_URL: "http://birb-latency-collector/report"
--- ---
kind: Role kind: Role
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"]
@ -48,6 +51,7 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
metadata: metadata:
name: birb-scheduler-role-binding name: birb-scheduler-role-binding
namespace: turbomemer
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: birb-scheduler-account name: birb-scheduler-account