Skip to content

Commit

Permalink
Add test for casts for fluent-bit config
Browse files Browse the repository at this point in the history
  • Loading branch information
sumo-drosiek committed May 18, 2020
1 parent d0f47b1 commit 37f5132
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/upgrade_script/static/fluent_bit_casts.input.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
fluent-bit:
backend:
type: forward
forward:
host: ${CHART}.${NAMESPACE}.svc.cluster.local.
port: 24321
tls: "off"
tls_verify: "on"
tls_debug: 1
7 changes: 7 additions & 0 deletions tests/upgrade_script/static/fluent_bit_casts.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[INFO] Casting fluent-bit.backend.forward.tls to str
[INFO] Casting fluent-bit.backend.forward.tls_verify to str

[INFO] falco will be disabled. Change "falco.enabled" to "true" if you want to enable it

Thank you for upgrading to v1.0.0 of the Sumo Logic Kubernetes Collection Helm chart.
A new yaml file has been generated for you. Please check the current directory for new_values.yaml.
9 changes: 9 additions & 0 deletions tests/upgrade_script/static/fluent_bit_casts.output.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
fluent-bit:
backend:
type: forward
forward:
host: ${CHART}.${NAMESPACE}.svc.cluster.local.
port: 24321
tls: "off"
tls_verify: "on"
tls_debug: 1

0 comments on commit 37f5132

Please sign in to comment.