Skip to content

[Improvement]: Accept the Moesif collector key as a Secret reference in Helm chart #3411

Description

@Milanka00

Please select the area the issue is related to

Gateway

Please select the aspect the issue is related to

Aspect/Configuration (Config files, settings, env vars, defaults)

Suggested Improvement

The Moesif collector key in the Gateway Helm chart is currently configured as a plaintext Helm value:

deployment:
  enabled: true
  replicaCount: 1
  env:
    gatewayControllerHost: ""
    logLevel: info
    moesifKey: ""

Since the Moesif collector key is sensitive, it should be referenced from a Kubernetes Secret instead of being provided directly as a Helm value.

Expected change

Support a Secret reference, for example:

deployment:
  env:
    moesifKeySecretRef:
      name: ""
      key: moesif-key

The Gateway should then read the Moesif collector key from the referenced Kubernetes Secret.

Related Issues

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions