refactor: use configMapGenerator for auto-rolling updates
This commit is contained in:
40
deploy/base/config.env
Normal file
40
deploy/base/config.env
Normal file
@@ -0,0 +1,40 @@
|
||||
# PostgreSQL
|
||||
DB_HOST=cloud-dev-rw.cnpg-system.svc.cluster.local
|
||||
DB_PORT=5432
|
||||
DB_NAME=cloud_dev
|
||||
DB_USER=cloud_dev
|
||||
DB_SSLMODE=disable
|
||||
DB_POOLSIZE=10
|
||||
|
||||
# MongoDB
|
||||
MONGO_HOST=cloud-dev-svc.mongodb.svc.cluster.local
|
||||
MONGO_PORT=27017
|
||||
MONGO_DB_NAME=db
|
||||
MONGO_ODX_DB_NAME=odx_db
|
||||
MONGO_CLIENT_TIMEOUT=60
|
||||
|
||||
# Redis (no auth required)
|
||||
REDIS_HOST=cloud-dev.redis.svc.cluster.local
|
||||
REDIS_PORT=6379
|
||||
REDIS_IDLETIMEOUT_MS=3600000
|
||||
REDIS_MAXIDLECONN=10
|
||||
REDIS_MAXACTIVECONN=10
|
||||
|
||||
# Kafka (Strimzi)
|
||||
KAFKA_HOSTS=cloud-dev-kafka-bootstrap.kafka.svc.cluster.local:9092
|
||||
KAFKA_SECURITY_PROTOCOL=PLAINTEXT
|
||||
KAFKA_GO_BATCH_CONSUMER=true
|
||||
KAFKA_BATCH_NUM_MESSAGES=50000
|
||||
KAFKA_BATCH_SIZE=1000000
|
||||
KAFKA_LINGER_MS=50
|
||||
|
||||
# Auth (Keycloak)
|
||||
OIDC_ISSUER=https://keycloak.mini.cloud.fiskerinc.com/realms/compute-auth
|
||||
OIDC_JWK_URL=https://keycloak.mini.cloud.fiskerinc.com/realms/compute-auth/protocol/openid-connect/certs
|
||||
JWK_URL=https://keycloak.mini.cloud.fiskerinc.com/realms/compute-auth/protocol/openid-connect/certs
|
||||
|
||||
# Vault
|
||||
VAULT_URL=http://vault.vault.svc.cluster.local:8200/v1
|
||||
|
||||
# Logging
|
||||
LOG_LEVEL=info
|
||||
Reference in New Issue
Block a user