dev-environment/k8s_config/dev/groups-management/deployment.yaml

32 lines
759 B
YAML
Raw Normal View History

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