Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Sign in
Toggle navigation
Menu
Open sidebar
umbrella-chart
consumer
Commits
46accd7a
Commit
46accd7a
authored
Mar 06, 2018
by
Frederic Lavigne
Browse files
reference producer
parent
0a29ebf7
Changes
2
Hide whitespace changes
Inline
Side-by-side
chart/consumer/templates/configmap.yaml
View file @
46accd7a
...
...
@@ -9,3 +9,4 @@ metadata:
heritage
:
{{
.Release.Service
}}
data
:
threadCount
:
{{
required "Threadcount required!" .Values.configuration.threadCount | quote
}}
producerUrl
:
http://{{ .Release.Name }}-producer
chart/consumer/templates/deployment.yaml
View file @
46accd7a
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment