diff --git a/drone-runner/deployment.yaml b/drone-runner/deployment.yaml index 8330d5f..8a4dddb 100644 --- a/drone-runner/deployment.yaml +++ b/drone-runner/deployment.yaml @@ -1,12 +1,12 @@ apiVersion: apps/v1 kind: Deployment metadata: - namespace: drone + namespace: default name: drone labels: app.kubernetes.io/name: drone spec: - replicas: 1 + replicas: 2 selector: matchLabels: app.kubernetes.io/name: drone diff --git a/drone-runner/role.yaml b/drone-runner/role.yaml index cbd8173..0d94386 100644 --- a/drone-runner/role.yaml +++ b/drone-runner/role.yaml @@ -1,7 +1,7 @@ kind: Role apiVersion: rbac.authorization.k8s.io/v1 metadata: - namespace: drone + namespace: default name: drone rules: - apiGroups: @@ -29,11 +29,11 @@ kind: RoleBinding apiVersion: rbac.authorization.k8s.io/v1 metadata: name: drone - namespace: drone + namespace: default subjects: - kind: ServiceAccount name: default - namespace: drone + namespace: default roleRef: kind: Role name: drone