feat(k8s): add RabbitMQ configurations and update secrets #430

Merged
argoyle merged 1 commits from add-amqp-url-and-update-secrets into main 2025-04-08 06:02:40 +00:00
3 changed files with 5 additions and 2 deletions
Showing only changes of commit 2ba10d763d - Show all commits
-2
View File
@@ -62,8 +62,6 @@ spec:
envFrom:
- secretRef:
name: schemas
- secretRef:
name: rabbitmq
restartPolicy: Always
serviceAccountName: schemas
---
+1
View File
@@ -5,3 +5,4 @@ metadata:
stringData:
API_KEY: supersecret123!
POSTGRES_URL: "postgres://postgres:postgres@postgres:5432/schemas?sslmode=disable"
AMQP_URL: "amqp://user:password@rabbitmq:5672/"
+4
View File
@@ -11,6 +11,8 @@ spec:
target:
creationPolicy: Owner
template:
mergePolicy: Merge
engineVersion: 'v2'
data:
POSTGRES_URL: "postgres://{{ .DB_USERNAME }}:{{ .DB_PASSWORD }}@{{ .DB_HOST }}:{{ .DB_PORT }}/schemas?sslmode=disable"
API_KEY: "{{ .API_KEY }}"
@@ -21,3 +23,5 @@ spec:
key: services/schemas
- extract:
key: rds/postgres/prod-psql
- extract:
key: mq/rabbit/prod