30 lines
655 B
YAML
30 lines
655 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: drone-build-monitor-demo-nginx
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: nginx
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: nginx
|
|
spec:
|
|
containers:
|
|
- name: nginx
|
|
image: nginx
|
|
volumeMounts:
|
|
- mountPath: /etc/nginx/
|
|
name: nginx-conf
|
|
readOnly: true
|
|
- mountPath: /certs
|
|
name: certs
|
|
volumes:
|
|
- name: nginx-conf
|
|
secret:
|
|
secretName: nginx-conf-secret
|
|
- name: certs
|
|
hostPath:
|
|
path: /tmp/gitea-certs
|
|
type: Directory |