Skip to content
Discussion options

You must be logged in to vote

I added a section which describes the defaultPulsarAuth field to configuration reference: https://github.com/visortelle/dekaf/blob/main/docs/configuration-reference.md#default-pulsar-auth

Automatically injecting auth from k8s secret isn't handled by the pulsar-helm-chart, but there is a workaround.

We can use variable interpolation:

https://kubernetes.io/docs/tasks/inject-data-application/define-interdependent-environment-variables/

dekaf:
  deployment:
    extraEnv:
    - name: JWT_TOKEN
      valueFrom:
        secretKeyRef:
          name: pulsar-tokens
          key: asym-token
    - name: DEKAF_DEFAULT_PULSAR_AUTH
      value: '{"type":"jwt","token":"$(JWT_TOKEN)"}'

Pay attention that

Replies: 1 comment 2 replies

Comment options

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

@yleizour-splio
Comment options

Answer selected by visortelle
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