initial commit

This commit is contained in:
2024-11-04 01:22:29 +01:00
commit 23c38fe67b
44 changed files with 1307 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
dev_env: true
storage:
db:
type: mongodb
mongodb:
host: mongodb
port: 27017
db_name: coopgo_platform
collections:
events: agenda_events
services:
grpc:
port: 8080

View File

@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: agenda
spec:
selector:
matchLabels:
app: agenda
template:
metadata:
labels:
app: agenda
spec:
containers:
- name: agenda
image: git.coopgo.io/coopgo-platform/agenda
ports:
- name: grpc
containerPort: 8080
protocol: TCP
volumeMounts:
- name: agenda-config-volume
mountPath: /config.yaml
subPath: config.yaml
volumes:
- name: agenda-config-volume
configMap:
name: agenda-config
items:
- key: config.yaml
path: config.yaml

View File

@@ -0,0 +1,8 @@
resources:
- deployment.yaml
- service.yaml
configMapGenerator:
- name: agenda-config
files:
- config.yaml

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: agenda
spec:
selector:
app: agenda
ports:
- port: 8080
name: grpc
targetPort: 8080