Skip to content

Commit 9684037

Browse files
feat(lmotel): add support of proxy in lmotel (#336)
Co-authored-by: Khyati Gandhi <[email protected]>
1 parent 2ab4619 commit 9684037

File tree

6 files changed

+21
-1
lines changed

6 files changed

+21
-1
lines changed

charts/lmotel/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ maintainers:
66
- name: LogicMonitor
77
88
name: lmotel
9-
version: 1.8.0-rc01
9+
version: 1.9.0-rc01
1010
home: https://logicmonitor.github.io/helm-charts-qa
1111
appVersion: v2.0.10
1212
dependencies:

charts/lmotel/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ To enable logs add the following option
6565
--set logs.enable=true \
6666
```
6767

68+
To enable proxy support add the following option
69+
``` console
70+
--set envVars.HTTPS_PROXY=<proxy_server_ip:port> \
71+
```
72+
6873
---
6974
Required Values:
7075
- **account (default: `""`):** The LogicMonitor account name.

charts/lmotel/templates/daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ spec:
7373
optional: true
7474
- name: LOGICMONITOR_OTEL_NAMESPACE
7575
value: {{ include "lmutil.release.namespace" . }}
76+
{{- range $key, $val := .Values.envVars }}
77+
- name: {{ $key }}
78+
value: {{ $val | quote }}
79+
{{- end }}
7680
{{- if .Values.external_config.lmconfig }}
7781
args:
7882
- --config

charts/lmotel/templates/statefulset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ spec:
7777
optional: true
7878
- name: LOGICMONITOR_OTEL_NAMESPACE
7979
value: {{ include "lmutil.release.namespace" . }}
80+
{{- range $key, $val := .Values.envVars }}
81+
- name: {{ $key }}
82+
value: {{ $val | quote }}
83+
{{- end }}
8084
{{- if .Values.external_config.lmconfig}}
8185
args:
8286
- --config

charts/lmotel/values.schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,11 @@
252252
"examples": [
253253
]
254254
},
255+
"envVars": {
256+
"$id": "#properties/envVars",
257+
"title": "Environment Variables",
258+
"type": "object"
259+
},
255260
"ingress": {
256261
"$id": "#properties/ingress",
257262
"title": "LMOTEL Collector Ingress schema",

charts/lmotel/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ external_config:
3939
lmconfig: ""
4040
arguments: []
4141

42+
envVars: {}
43+
4244
ingress:
4345
enabled: false
4446
annotations: {}

0 commit comments

Comments
 (0)