8000 Jaeger v2 via OpenTelemetry operator - provide elasticsearch username and password via Kubernetes secret? · jaegertracing · Discussion #6778 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Because operator does not deal with storage you cannot pass storage params via spec. You need to create a custom OTEL collector config (example) and pass it as a whole. Within that config you can specify auth:

extensions:
  jaeger_storage:
    backends:
      some_storage:
        elasticsearch:
          auth:
            basic:
              username: somevalue
              password: somevalue

If you then want to customize those credential values via env vars, you can change the config accordingly

          auth:
            basic:
              username: "${env:ES_USERNAME}"
              password: "${env:ES_PASSWORD}"

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
2 replies
@djryanj
Comment options

@dosubot
Comment options

Comment options

You must be logged in to vote
11 replies
@djryanj
Comment options

10000
@yurishkuro
Comment options

Answer selected by djryanj
@djryanj
Comment options

@yurishkuro
Comment options

@djryanj
Comment options

@yurishkuro
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
0