Skip to content

Commit

Permalink
Revert "Update beats stack monitoring recipe (elastic#7322)" (elastic…
Browse files Browse the repository at this point in the history
…#7328)

This reverts commit bba23de.
According to e2e testing (TestMetricbeatStackMonitoringRecipe), `ssl.verification_mode: "certificate"`
doesn't seem to work as expected.
  • Loading branch information
thbkrkr authored Nov 21, 2023
1 parent bba23de commit 4ef8a90
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions config/recipes/beats/stack_monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ spec:
hosts: "https://${data.host}:${data.ports.https}"
username: ${MONITORED_ES_USERNAME}
password: ${MONITORED_ES_PASSWORD}
ssl.verification_mode: "certificate"
# WARNING: disables TLS as the default certificate is not valid for the pod FQDN
# TODO: switch this to "certificate" when available: https://github.com/elastic/beats/issues/8164
ssl.verification_mode: "none"
xpack.enabled: true
- condition:
contains:
Expand All @@ -49,7 +51,9 @@ spec:
hosts: "https://${data.host}:${data.ports.https}"
username: ${MONITORED_ES_USERNAME}
password: ${MONITORED_ES_PASSWORD}
ssl.verification_mode: "certificate"
# WARNING: disables TLS as the default certificate is not valid for the pod FQDN
# TODO: switch this to "certificate" when available: https://github.com/elastic/beats/issues/8164
ssl.verification_mode: "none"
xpack.enabled: true
processors:
- add_cloud_metadata: {}
Expand Down

0 comments on commit 4ef8a90

Please sign in to comment.