Updated drone ci
This commit is contained in:
parent
a68788913b
commit
5eaefccdb7
@ -1,12 +1,12 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
namespace: drone
|
namespace: default
|
||||||
name: drone
|
name: drone
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: drone
|
app.kubernetes.io/name: drone
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: drone
|
app.kubernetes.io/name: drone
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
kind: Role
|
kind: Role
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
namespace: drone
|
namespace: default
|
||||||
name: drone
|
name: drone
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
@ -29,11 +29,11 @@ kind: RoleBinding
|
|||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: drone
|
name: drone
|
||||||
namespace: drone
|
namespace: default
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: default
|
name: default
|
||||||
namespace: drone
|
namespace: default
|
||||||
roleRef:
|
roleRef:
|
||||||
kind: Role
|
kind: Role
|
||||||
name: drone
|
name: drone
|
||||||
|
Loading…
Reference in New Issue
Block a user