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

32 lines
671 B
YAML
Raw Normal View History

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