changes
This commit is contained in:
16
k8s_config/dev/diags/config.yaml
Normal file
16
k8s_config/dev/diags/config.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
dev_env: true
|
||||
|
||||
storage:
|
||||
db:
|
||||
type: mongodb
|
||||
mongodb:
|
||||
host: mongodb
|
||||
port: 27017
|
||||
db_name: coopgo_platform
|
||||
collections:
|
||||
diags: diags
|
||||
|
||||
services:
|
||||
grpc:
|
||||
port: 8080
|
||||
31
k8s_config/dev/diags/deployment.yaml
Normal file
31
k8s_config/dev/diags/deployment.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
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
|
||||
8
k8s_config/dev/diags/kustomization.yaml
Normal file
8
k8s_config/dev/diags/kustomization.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: diags-config
|
||||
files:
|
||||
- config.yaml
|
||||
11
k8s_config/dev/diags/service.yaml
Normal file
11
k8s_config/dev/diags/service.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: diags
|
||||
spec:
|
||||
selector:
|
||||
app: diags
|
||||
ports:
|
||||
- port: 8080
|
||||
name: grpc
|
||||
targetPort: 8080
|
||||
@@ -6,6 +6,8 @@ resources:
|
||||
- ./fleets/
|
||||
- ./groups-management/
|
||||
- ./mobility-accounts/
|
||||
- ./diags/
|
||||
- ./solidarity-service/
|
||||
|
||||
# Apps
|
||||
- ./parcoursmob/
|
||||
@@ -17,4 +19,3 @@ resources:
|
||||
- ./smtp4dev/
|
||||
- ./formance/
|
||||
- namespace.yaml
|
||||
|
||||
|
||||
@@ -50,7 +50,8 @@ db.groups.insert({
|
||||
"vehicles" : true,
|
||||
"support" : true,
|
||||
"beneficiaries" : true,
|
||||
"journeys" : true
|
||||
"journeys" : true,
|
||||
"diags" : true
|
||||
},
|
||||
"name" : "COOPGO"
|
||||
}
|
||||
|
||||
@@ -30,6 +30,8 @@ services:
|
||||
dial: fleets:8080
|
||||
agenda:
|
||||
dial: agenda:8080
|
||||
diags:
|
||||
dial: diags:8080
|
||||
navitia:
|
||||
api_key: abcd
|
||||
|
||||
@@ -102,6 +104,9 @@ modules:
|
||||
- name: Auto-école sociale (classique)
|
||||
- name: Information collective
|
||||
- name: Autre
|
||||
|
||||
documents_types:
|
||||
- notice
|
||||
- pieces
|
||||
- other
|
||||
# knowledge:
|
||||
# enabled: true
|
||||
|
||||
@@ -13,7 +13,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: parcoursmob
|
||||
image: git.coopgo.io/coopgo-apps/parcoursmob
|
||||
image: git.coopgo.io/coopgo-apps/parcoursmob:dev
|
||||
ports:
|
||||
- containerPort: 80
|
||||
volumeMounts:
|
||||
|
||||
0
k8s_config/dev/postgresql/kustomization.yaml
Normal file
0
k8s_config/dev/postgresql/kustomization.yaml
Normal file
22
k8s_config/dev/solidarity-service/config.yaml
Normal file
22
k8s_config/dev/solidarity-service/config.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
dev_env: true
|
||||
|
||||
storage:
|
||||
db:
|
||||
type: mongodb
|
||||
mongodb:
|
||||
host: mongodb
|
||||
port: 27017
|
||||
db_name: coopgo_platform
|
||||
collections:
|
||||
drivers: solidarity_drivers
|
||||
passengers: solidarity_passengers
|
||||
bookings: solidarity_bookings
|
||||
|
||||
services:
|
||||
grpc:
|
||||
port: 8080
|
||||
|
||||
routing:
|
||||
type: valhalla
|
||||
valhalla:
|
||||
base_url: https://valhalla.coopgo.io/
|
||||
31
k8s_config/dev/solidarity-service/deployment.yaml
Normal file
31
k8s_config/dev/solidarity-service/deployment.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: solidarity-service
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: solidarity-service
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: solidarity-service
|
||||
spec:
|
||||
containers:
|
||||
- name: solidarity-service
|
||||
image: coopgo-platform/solidarity-service
|
||||
ports:
|
||||
- name: grpc
|
||||
containerPort: 8080
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: solidarity-service-config-volume
|
||||
mountPath: /config.yaml
|
||||
subPath: config.yaml
|
||||
volumes:
|
||||
- name: solidarity-service-config-volume
|
||||
configMap:
|
||||
name: solidarity-service-config
|
||||
items:
|
||||
- key: config.yaml
|
||||
path: config.yaml
|
||||
9
k8s_config/dev/solidarity-service/kustomization.yaml
Normal file
9
k8s_config/dev/solidarity-service/kustomization.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
resources:
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: solidarity-service-config
|
||||
files:
|
||||
- config.yaml
|
||||
|
||||
11
k8s_config/dev/solidarity-service/service.yaml
Normal file
11
k8s_config/dev/solidarity-service/service.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: solidarity-service
|
||||
spec:
|
||||
selector:
|
||||
app: solidarity-service
|
||||
ports:
|
||||
- port: 8080
|
||||
name: grpc
|
||||
targetPort: 8080
|
||||
Reference in New Issue
Block a user