Skip to content

Commit

Permalink
Correct basic test to pass in the default case. (fluent#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
pecastro committed Nov 16, 2023
1 parent d8e472d commit d1dfd93
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion charts/fluentd/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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 }}

0 comments on commit d1dfd93

Please sign in to comment.