Skip to content

Commit cd0cc34

Browse files
authored
fix(argus): set proxy url in cs and collector secretname (#87)
1 parent 21219c6 commit cd0cc34

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

charts/argus/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ maintainers:
1111
1212
name: LogicMonitor
1313
name: argus
14-
version: 2.2.0-rc06
14+
version: 2.2.0-rc07
1515
home: https://logicmonitor.github.io/helm-charts-qa
1616
appVersion: v8.2.0-rc1

charts/argus/templates/collectorset.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,16 @@ spec:
3434
{{- if .Values.collector.proxy.url }}
3535
proxy:
3636
url: {{ .Values.collector.proxy.url }}
37+
{{- if .Values.collector.proxy.user }}
38+
secretName: {{ include "argus.fullname" . }}-collector
39+
{{- end }}
3740
{{- else if .Values.global.proxy.url }}
3841
proxy:
3942
url: {{ .Values.global.proxy.url }}
40-
{{- end }}
41-
{{- if .Values.collector.proxy.user }}
43+
{{- if .Values.global.proxy.user }}
4244
secretName: {{ include "argus.fullname" . }}-collector
4345
{{- end }}
46+
{{- end }}
4447
labels:
4548
{{- include "collector.labels" . | nindent 4 }}
4649
{{- if .Values.collector.annotations}}

0 commit comments

Comments
 (0)