feat(k8s): add RabbitMQ configurations and update secrets #430
@@ -62,8 +62,6 @@ spec:
|
|||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: schemas
|
name: schemas
|
||||||
- secretRef:
|
|
||||||
name: rabbitmq
|
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
serviceAccountName: schemas
|
serviceAccountName: schemas
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ metadata:
|
|||||||
stringData:
|
stringData:
|
||||||
API_KEY: supersecret123!
|
API_KEY: supersecret123!
|
||||||
POSTGRES_URL: "postgres://postgres:postgres@postgres:5432/schemas?sslmode=disable"
|
POSTGRES_URL: "postgres://postgres:postgres@postgres:5432/schemas?sslmode=disable"
|
||||||
|
AMQP_URL: "amqp://user:password@rabbitmq:5672/"
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ spec:
|
|||||||
target:
|
target:
|
||||||
creationPolicy: Owner
|
creationPolicy: Owner
|
||||||
template:
|
template:
|
||||||
|
mergePolicy: Merge
|
||||||
|
engineVersion: 'v2'
|
||||||
data:
|
data:
|
||||||
POSTGRES_URL: "postgres://{{ .DB_USERNAME }}:{{ .DB_PASSWORD }}@{{ .DB_HOST }}:{{ .DB_PORT }}/schemas?sslmode=disable"
|
POSTGRES_URL: "postgres://{{ .DB_USERNAME }}:{{ .DB_PASSWORD }}@{{ .DB_HOST }}:{{ .DB_PORT }}/schemas?sslmode=disable"
|
||||||
API_KEY: "{{ .API_KEY }}"
|
API_KEY: "{{ .API_KEY }}"
|
||||||
@@ -21,3 +23,5 @@ spec:
|
|||||||
key: services/schemas
|
key: services/schemas
|
||||||
- extract:
|
- extract:
|
||||||
key: rds/postgres/prod-psql
|
key: rds/postgres/prod-psql
|
||||||
|
- extract:
|
||||||
|
key: mq/rabbit/prod
|
||||||
|
|||||||
Reference in New Issue
Block a user