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

30 lines
660 B
YAML
Raw Normal View History

2024-11-04 00:22:29 +00:00
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