Replaced rabbitMQ with Kafka, fixed regcred

This commit is contained in:
PB
2025-11-08 18:20:44 +01:00
parent 4e812b3b22
commit 3907be917d
8 changed files with 131 additions and 74 deletions

View File

@@ -5,7 +5,6 @@ metadata:
namespace: egommerce
annotations:
haproxy.org/check: "true"
# haproxy.org/server-ca: "egommerce/ca-root"
labels:
app: identity-svc
spec:
@@ -56,13 +55,11 @@ spec:
- name: APP_NAME
value: identity-svc
- name: APP_DOMAIN
value: identity-svc.egommerce.local
value: identity-svc.egommerce.io
- name: APP_PATH_PREFIX
value: /identity
- name: API_EVENTBUS_URL
value: amqp://guest:guest@api-eventbus:5672
- name: API_MONGODB_URL
value: mongodb://mongodb:12345678@mongo-db:27017
- name: API_DATABASE_URL
value: postgres://egommerce:12345678@db-postgres:5432/egommerce?sslmode=disable
readinessProbe:
httpGet:
scheme: HTTPS
@@ -92,10 +89,10 @@ spec:
resources:
limits:
cpu: 100m
memory: 512Mi
memory: 512M
requests:
cpu: 50m
memory: 256Mi
memory: 256M
ports:
- name: identity-svc
containerPort: 443
@@ -119,6 +116,8 @@ spec:
requests:
cpu: 50m
memory: 256Mi
imagePullSecrets:
- name: regcred
volumes:
- name: identity-cert
hostPath: