Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enforce Fluentd tests #1110

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@
<match **>
@id ClusterFluentdConfig-cluster-fluentd-config::cluster::clusteroutput::fluentd-output-loki-0
@type loki
ca_cert /path/to/ca.pem
cert /path/to/certificate.pem
drop_single_key true
extra_labels {"key11":"value11","key12":"value12"}
extract_kubernetes_labels true
include_thread_label true
insecure_tls true
key /path/to/key.key
password s3cr3tP@ssword
remove_keys key31,key32
tenant 0c3ba7a4-3148-4605-b62a-afc92dd1c4d7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@
<store>
@id FluentdConfig-fluent-fluentd-config::cluster::clusteroutput::fluentd-output-loki-0
@type loki
ca_cert /path/to/ca.pem
cert /path/to/certificate.pem
drop_single_key true
extra_labels {"key11":"value11","key12":"value12"}
extract_kubernetes_labels true
include_thread_label true
insecure_tls true
key /path/to/key.key
password s3cr3tP@ssword
remove_keys key31,key32
tenant 0c3ba7a4-3148-4605-b62a-afc92dd1c4d7
Expand Down
6 changes: 3 additions & 3 deletions apis/fluentd/v1alpha1/tests/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,9 @@ spec:
- key32
dropSingleKey: true
includeThreadLabel: true
# tlsCaCertFile: /path/to/ca.pem
# tlsClientCertFile: /path/to/certificate.pem
# tlsPrivateKeyFile: /path/to/key.key
tlsCaCertFile: /path/to/ca.pem
tlsClientCertFile: /path/to/certificate.pem
tlsPrivateKeyFile: /path/to/key.key
insecure: true
`

Expand Down
Loading