Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
apiVersion: v1
kind: Secret
metadata:  
  name: <secret <<secret-name> name>>
type: Opaque
data:
  AUTH_KEY_ENV: << base64 encoded auth key >>AUTH_TOKEN_ENCODED
  1. Update the fluent-bit helm custom-values.yaml as below

Code Block
env:
- name: AUTH_KEY_ENV
  valueFrom:
      secretKeyRef:
        name: <<secret -name>>
        key: AUTH_KEY_ENV


config:
  outputs: |
    [OUTPUT]
        Name http
        Header Kf-Api-Key ${AUTH_KEY_ENV}
        Match *
        Host swapnil-dev.kloudfuse.io
        Port 443
        TLS on
        URI /ingester/v1/fluent_bit
        Format {json|json_lines|json_stream|msgpack}

...