drone-ci
This commit is contained in:
20
drone.pod.yaml
Normal file
20
drone.pod.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: drone
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: drone
|
||||||
|
image: docker.io/drone/drone:latest
|
||||||
|
network: podman
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
hostPort: 8089
|
||||||
|
volumeMounts:
|
||||||
|
- name: drone-data-pvc
|
||||||
|
mountPath: /www/assets
|
||||||
|
volumes:
|
||||||
|
# Persistent volumes
|
||||||
|
- name: drone-data-pvc
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: drone-data
|
||||||
Reference in New Issue
Block a user