feat(k8s): add RabbitMQ configurations and update secrets #430
@@ -62,8 +62,6 @@ spec:
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: schemas
|
||||
- secretRef:
|
||||
name: rabbitmq
|
||||
restartPolicy: Always
|
||||
serviceAccountName: schemas
|
||||
---
|
||||
|
||||
@@ -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/"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user