Commit 46accd7a authored by Frederic Lavigne's avatar Frederic Lavigne
Browse files

reference producer

parent 0a29ebf7
......@@ -9,3 +9,4 @@ metadata:
heritage: {{ .Release.Service }}
data:
threadCount: {{ required "Threadcount required!" .Values.configuration.threadCount | quote }}
producerUrl: http://{{ .Release.Name }}-producer
......@@ -42,6 +42,11 @@ spec:
secretKeyRef:
name: {{ template "fullname" . }}
key: database-password
- name: PRODUCER_URL
valueFrom:
configMapKeyRef:
name: {{ template "fullname" . }}
key: producerUrl
ports:
- containerPort: {{ .Values.service.internalPort }}
livenessProbe:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment