Files
plugin-drone-kube-apply/example/deployment.template.yaml
T
2019-04-03 10:59:05 +11:00

22 lines
376 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: {{name}}
spec:
selector:
matchLabels:
app: {{name}}
replicas: 1
template:
metadata:
labels:
app: {{name}}
spec:
containers:
- name: nginx
image: 10.0.0.24:443/image:{{name}}
ports:
- containerPort: 80
imagePullSecrets:
- name: regcred