dev-environment/k8s_config/dev/parcoursmob/deployment.yaml

30 lines
660 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: parcoursmob
spec:
selector:
matchLabels:
app: parcoursmob
template:
metadata:
labels:
app: parcoursmob
spec:
containers:
- name: parcoursmob
image: git.coopgo.io/coopgo-apps/parcoursmob
ports:
- containerPort: 80
volumeMounts:
- name: parcoursmob-config-volume
mountPath: /config.yaml
subPath: config.yaml
volumes:
- name: parcoursmob-config-volume
configMap:
name: parcoursmob-config
items:
- key: config.yaml
path: config.yaml