Skip to content
New issue

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

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

Already on GitHub? # to your account

Remove 0.0.0.0 overrides in HotROD CI #6226

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

yurishkuro
Copy link
Member

@yurishkuro yurishkuro commented Nov 19, 2024

Which problem is this PR solving?

Description of the changes

  • Remove overrides
  • Add explicit 0.0.0.0 host to all-in-one config

How was this change tested?

  • CI

Signed-off-by: Yuri Shkuro <github@ysh.us>
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.45%. Comparing base (2b7cf3a) to head (e2aa180).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6226      +/-   ##
==========================================
- Coverage   96.50%   96.45%   -0.06%     
==========================================
  Files         354      355       +1     
  Lines       20127    20157      +30     
==========================================
+ Hits        19424    19442      +18     
- Misses        520      528       +8     
- Partials      183      187       +4     
Flag Coverage Δ
badger_v1 8.31% <ø> (ø)
badger_v2 1.67% <ø> (-0.01%) ⬇️
cassandra-4.x-v1 14.39% <ø> (ø)
cassandra-4.x-v2 1.61% <ø> (-0.01%) ⬇️
cassandra-5.x-v1 14.39% <ø> (ø)
cassandra-5.x-v2 1.61% <ø> (-0.01%) ⬇️
elasticsearch-6.x-v1 18.60% <ø> (+<0.01%) ⬆️
elasticsearch-7.x-v1 18.68% <ø> (ø)
elasticsearch-8.x-v1 18.85% <ø> (ø)
elasticsearch-8.x-v2 1.67% <ø> (-0.01%) ⬇️
grpc_v1 9.44% <ø> (-0.04%) ⬇️
grpc_v2 6.98% <ø> (-0.03%) ⬇️
kafka-v1 8.88% <ø> (ø)
kafka-v2 1.67% <ø> (-0.01%) ⬇️
memory_v2 1.67% <ø> (+<0.01%) ⬆️
opensearch-1.x-v1 18.73% <ø> (ø)
opensearch-2.x-v1 18.72% <ø> (-0.01%) ⬇️
opensearch-2.x-v2 1.67% <ø> (-0.01%) ⬇️
tailsampling-processor 0.46% <ø> (-0.01%) ⬇️
unittests 95.36% <ø> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro marked this pull request as ready for review November 19, 2024 22:50
@yurishkuro yurishkuro requested a review from a team as a code owner November 19, 2024 22:50
@dosubot dosubot bot added the docker Pull requests that update Docker code label Nov 19, 2024
@yurishkuro yurishkuro merged commit 8c2340c into jaegertracing:main Nov 20, 2024
54 checks passed
@yurishkuro yurishkuro deleted the remove-0.0.0.0-overrides branch November 20, 2024 02:42
yurishkuro added a commit that referenced this pull request Nov 21, 2024
## Which problem is this PR solving?
- Resolves #6209
- In #6226 we changed the all-in-one config to always use 0.0.0.0, which
is not a secure option when running the binary directly on host (vs.
running in container)

## Description of the changes
- Introduce `JAEGER_LISTEN_HOST` env var used from all-in-one/v2 config
- Default it to `localhost` suitable for running directly on host
- Override it to 0.0.0.0 in the Dockerfile for v2

## How was this change tested?
- ran the binary without env var, no security warnings
- ran with JAEGER_LISTEN_HOST=0.0.0.0 - warnings are displayed as
expected (pending
open-telemetry/opentelemetry-collector#11713)

Signed-off-by: Yuri Shkuro <github@ysh.us>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
changelog:bugfix-or-minor-feature docker Pull requests that update Docker code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants