mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
only install daemonset if collectorUrl is set (#5235)
* only install daemonset if collectorUrl is set as it will not work properly. This will also ensure our tests reliably pass. * bump version and add current appVersion * use test values the use fake URL but exclude paths from processing to prevent errors.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
name: sumologic-fluentd
|
||||
version: 0.3.1
|
||||
version: 0.3.2
|
||||
appVersion: v1.6
|
||||
description: Sumologic Log Collector
|
||||
keywords:
|
||||
- monitoring
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
sumologic:
|
||||
collectorUrl: https://endpoint1.collection.us2.sumologic.com/receiver/v1/http/1234
|
||||
excludePath: "[\"/mnt/log/*.log\", \"/var/log/*.log\", \"/mnt/log/*/*.log\"]"
|
||||
@@ -1,3 +1,4 @@
|
||||
{{- if .Values.sumologic.collectorUrl -}}
|
||||
# Sumologic collector URL is required
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: DaemonSet
|
||||
@@ -190,3 +191,4 @@ spec:
|
||||
{{- end }}
|
||||
updateStrategy:
|
||||
type: "{{ .Values.updateStrategy }}"
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user