diff --git a/charts/fluentd/Chart.yaml b/charts/fluentd/Chart.yaml index 99fafe16..cb748397 100644 --- a/charts/fluentd/Chart.yaml +++ b/charts/fluentd/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: fluentd description: A Helm chart for Kubernetes # type: application -version: 0.5.0 +version: 0.5.1 appVersion: v1.16.2 icon: https://www.fluentd.org/images/miscellany/fluentd-logo_2x.png home: https://www.fluentd.org/ diff --git a/charts/fluentd/templates/tests/test-connection.yaml b/charts/fluentd/templates/tests/test-connection.yaml index 7c0f8150..66e7ede2 100644 --- a/charts/fluentd/templates/tests/test-connection.yaml +++ b/charts/fluentd/templates/tests/test-connection.yaml @@ -1,3 +1,10 @@ +{{/* +Target the very simple case where +fluentd is deployed with the default values +If the fluentd config is overriden and the metrics server removed +this will fail. +*/}} +{{ if empty .Values.service.ports }} apiVersion: v1 kind: Pod metadata: @@ -11,5 +18,6 @@ spec: - name: wget image: busybox command: ['wget'] - args: ['{{ include "fluentd.fullname" . }}:{{ .Values.service.port }}'] + args: ['{{ include "fluentd.fullname" . }}:24231/metrics'] restartPolicy: Never +{{ end }} \ No newline at end of file