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