35 lines
832 B
YAML
35 lines
832 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: mobility-accounts
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: mobility-accounts
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: mobility-accounts
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: mobility-accounts
|
||
|
image: git.coopgo.io/coopgo-platform/mobility-accounts
|
||
|
ports:
|
||
|
- name: grpc
|
||
|
containerPort: 8080
|
||
|
protocol: TCP
|
||
|
- name: http
|
||
|
containerPort: 80
|
||
|
protocol: TCP
|
||
|
volumeMounts:
|
||
|
- name: mobility-accounts-config-volume
|
||
|
mountPath: /config.yaml
|
||
|
subPath: config.yaml
|
||
|
volumes:
|
||
|
- name: mobility-accounts-config-volume
|
||
|
configMap:
|
||
|
name: mobility-accounts-config
|
||
|
items:
|
||
|
- key: config.yaml
|
||
|
path: config.yaml
|