32 lines
759 B
YAML
32 lines
759 B
YAML
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
|