Add namespace, secret for image registry, and prod configs
This commit is contained in:
@@ -2,6 +2,19 @@ apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: todo-config
|
||||
namespace: todo-test
|
||||
data:
|
||||
DATABASE_URL: "jdbc:postgresql://todo-postgres:5432/building_materials"
|
||||
DATABASE_USERNAME: "postgres"
|
||||
REDIS_HOST: "todo-redis"
|
||||
REDIS_PORT: "6379"
|
||||
API_BASE_URL: "http://todo-backend:8080"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: todo-config
|
||||
namespace: todo-prod
|
||||
data:
|
||||
DATABASE_URL: "jdbc:postgresql://todo-postgres:5432/building_materials"
|
||||
DATABASE_USERNAME: "postgres"
|
||||
|
||||
Reference in New Issue
Block a user