Updated drone ci

This commit is contained in:
Sambo Chea 2022-04-01 11:25:29 +07:00
parent a68788913b
commit 5eaefccdb7
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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