Skip to content

Commit

Permalink
Update beats stack monitoring recipe (elastic#7322)
Browse files Browse the repository at this point in the history
This configures beats in the stack monitoring recipe with `ssl.verification_mode: "certificate"`
as elastic/beats#8164 is resolved and removes the associated TODO explaining to do that.
  • Loading branch information
thbkrkr authored Nov 20, 2023
1 parent cb514a9 commit bba23de
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions config/recipes/beats/stack_monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ spec:
hosts: "https://${data.host}:${data.ports.https}"
username: ${MONITORED_ES_USERNAME}
password: ${MONITORED_ES_PASSWORD}
# 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"
ssl.verification_mode: "certificate"
xpack.enabled: true
- condition:
contains:
Expand All @@ -51,9 +49,7 @@ spec:
hosts: "https://${data.host}:${data.ports.https}"
username: ${MONITORED_ES_USERNAME}
password: ${MONITORED_ES_PASSWORD}
# 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"
ssl.verification_mode: "certificate"
xpack.enabled: true
processors:
- add_cloud_metadata: {}
Expand Down

0 comments on commit bba23de

Please sign in to comment.