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

32 lines
671 B
YAML
Raw Permalink Normal View History

2024-11-04 00:22:29 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: agenda
spec:
selector:
matchLabels:
app: agenda
template:
metadata:
labels:
app: agenda
spec:
containers:
- name: agenda
image: git.coopgo.io/coopgo-platform/agenda
ports:
- name: grpc
containerPort: 8080
protocol: TCP
volumeMounts:
- name: agenda-config-volume
mountPath: /config.yaml
subPath: config.yaml
volumes:
- name: agenda-config-volume
configMap:
name: agenda-config
items:
- key: config.yaml
path: config.yaml