create specific k8s config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bc81a65fea
commit
433dc2b74b
21
k8s/configmap.yaml
Normal file
21
k8s/configmap.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: input-service
|
||||
labels:
|
||||
app: input-service
|
||||
namespace: birbnetes
|
||||
data:
|
||||
SENTRY_DSN: input-service
|
||||
RELEASE_ID: luna-k8s
|
||||
RELEASEMODE: release
|
||||
RABBITMQ_HOST: birb-rabbitmq
|
||||
RABBITMQ_EXCHANGE: ""
|
||||
RABBITMQ_QUEUE: wave-extract
|
||||
RABBITMQ_USERNAME: user
|
||||
RABBITMQ_PASSWORD: 1wZVQnP5vy
|
||||
POSTGRES_HOSTNAME: input-postgres
|
||||
POSTGRES_USERNAME: input-service
|
||||
POSTGRES_PASSWORD: input-service-supersecret
|
||||
POSTGRES_DB: input-service
|
||||
STORAGE_HOSTNAME: storage-service
|
@ -20,11 +20,8 @@ spec:
|
||||
containers:
|
||||
- image:
|
||||
name: registry.kmlabz.com/tormakris/input-service
|
||||
env:
|
||||
- name: SENTRY_DSN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: sentry-dsn
|
||||
key: input-service
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: input-service
|
||||
ports:
|
||||
- containerPort: 8080
|
@ -8,7 +8,7 @@ metadata:
|
||||
spec:
|
||||
ports:
|
||||
- name: input-service
|
||||
port: 8080
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
protocol: TCP
|
||||
selector:
|
||||
|
Loading…
Reference in New Issue
Block a user