Compare commits
4 Commits
0cbaf1c165
...
a68788913b
Author | SHA1 | Date | |
---|---|---|---|
a68788913b | |||
b9523c0d4d | |||
|
e72c6168ef | ||
|
990300c269 |
@ -1,6 +1,7 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
|
namespace: drone
|
||||||
name: drone
|
name: drone
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: drone
|
app.kubernetes.io/name: drone
|
||||||
@ -15,14 +16,14 @@ spec:
|
|||||||
app.kubernetes.io/name: drone
|
app.kubernetes.io/name: drone
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: runner
|
- name: runner
|
||||||
image: drone/drone-runner-kube:latest
|
image: drone/drone-runner-kube:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
env:
|
env:
|
||||||
- name: DRONE_RPC_HOST
|
- name: DRONE_RPC_HOST
|
||||||
value: dci.osa.cubetiqs.com
|
value: dci.cubetiqs.com
|
||||||
- name: DRONE_RPC_PROTO
|
- name: DRONE_RPC_PROTO
|
||||||
value: https
|
value: https
|
||||||
- name: DRONE_RPC_SECRET
|
- name: DRONE_RPC_SECRET
|
||||||
value: super-duper-secret
|
value: 1a6c2d8b6fac4bf9351e5149c39e7fc4
|
||||||
|
@ -1,40 +1,40 @@
|
|||||||
kind: Role
|
kind: Role
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
namespace: default
|
namespace: drone
|
||||||
name: drone
|
name: drone
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- secrets
|
- secrets
|
||||||
verbs:
|
verbs:
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
- pods/log
|
- pods/log
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- create
|
- create
|
||||||
- delete
|
- delete
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
- update
|
- update
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: RoleBinding
|
kind: RoleBinding
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
metadata:
|
metadata:
|
||||||
name: drone
|
name: drone
|
||||||
namespace: default
|
namespace: drone
|
||||||
subjects:
|
subjects:
|
||||||
- kind: ServiceAccount
|
- kind: ServiceAccount
|
||||||
name: default
|
name: default
|
||||||
namespace: default
|
namespace: drone
|
||||||
roleRef:
|
roleRef:
|
||||||
kind: Role
|
kind: Role
|
||||||
name: drone
|
name: drone
|
||||||
apiGroup: rbac.authorization.k8s.io
|
apiGroup: rbac.authorization.k8s.io
|
||||||
|
6
portainer.md
Normal file
6
portainer.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Install Portainer
|
||||||
|
```shell
|
||||||
|
helm install --create-namespace -n portainer portainer portainer/portainer \
|
||||||
|
--set service.type=LoadBalancer \
|
||||||
|
--set tls.force=true
|
||||||
|
```
|
4
sc-provider/local-path.md
Normal file
4
sc-provider/local-path.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Install Local Path
|
||||||
|
```shell
|
||||||
|
kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user