Skip to content

Commit ac09517

Browse files
committed
add config option to helm chart
Signed-off-by: Lance-Drane <Lance-Drane@users.noreply.github.com>
1 parent d0b034f commit ac09517

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

charts/proxy-http-client/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ spec:
107107
value: {{ .Values.app.broker.host | quote }}
108108
- name: PROXYAPP_BROKER__PORT
109109
value: {{ .Values.app.broker.port | quote }}
110+
- name: PROXYAPP_BROKER__PROTOCOL
111+
value: {{ .Values.app.broker.protocol | quote }}
110112
- name: PROXYAPP_OTHER_PROXY__URL
111113
value: {{ .Values.app.other_proxy.url | quote }}
112114
- name: PROXYAPP_OTHER_PROXY__USERNAME

charts/proxy-http-client/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ app:
136136
broker:
137137
host: "127.0.0.1"
138138
port: "5672"
139+
protocol: "amqp" # or "mqtt"
139140
username: ""
140141
password:
141142
isSecret: false

charts/proxy-http-server/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ spec:
112112
value: {{ .Values.app.broker.port | quote }}
113113
- name: PROXYAPP_APP_PORT
114114
value: {{ .Values.containerPort | quote }}
115+
- name: PROXYAPP_BROKER__PROTOCOL
116+
value: {{ .Values.app.broker.protocol | quote }}
115117
- name: PROXYAPP_TOPIC_PREFIX
116118
value: {{ required "app.topic_prefix not set (i.e. 'organization.facility.system.')" .Values.app.topic_prefix | quote }}
117119
- name: PROXYAPP_USERNAME

charts/proxy-http-server/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ app:
166166
broker:
167167
host: "127.0.0.1"
168168
port: "5672"
169+
protocol: "amqp" # or "mqtt"
169170
username: ""
170171
password:
171172
isSecret: false

0 commit comments

Comments
 (0)