sample-service/k8s/configmap.yml

16 lines
354 B
YAML
Raw Normal View History

2021-08-11 14:40:05 +02:00
apiVersion: v1
kind: ConfigMap
metadata:
2021-08-11 16:43:08 +02:00
name: sample-service-config
2021-08-11 14:40:05 +02:00
labels:
2021-08-11 16:43:08 +02:00
app: sample-service
2021-08-11 14:40:05 +02:00
namespace: birbnetes
data:
PORT: "8080"
2021-08-11 16:43:08 +02:00
DB_URL: "jdbc:postgresql://sample-postgres:5432/sample-service"
DB_USER: sample-service
DB_PASSWORD: sample-service-supersecret
2021-08-11 14:40:05 +02:00
MQ_HOST: birb-rabbitmq
MQ_USERNAME: user
MQ_PASSWORD: F3ACadDRsT