Skip to content

[kube-prometheus-stack] Loading env vars from secrets #6835

Description

@NikhithaChinthapalli

Describe the bug a clear and concise description of what the bug is.

Is it possible to set these values using env variables loaded from a secret? I do not see envFrom or extraEnv in prometheusSpec

prometheus:
  prometheusSpec:
    thanos:
      objectStorageConfig:
        secret:
          type: s3
          config:
            bucket: "thanos-objstore"
            endpoint: ""
            region: ""
            access_key: ""
            secret_key: ""

What's your helm version?

v3.15.3

What's your kubectl version?

Client Version: v1.31.0 Kustomize Version: v5.4.2 Server Version: v1.31.5

Which chart?

kube-prometheus-stack

What's the chart version?

78.3.2

What happened?

Unable to load env vars from secrets

What you expected to happen?

Need extraEnv or extraEnv to load the env variables from scerets or configmaps.

How to reproduce it?

No response

Enter the changed values of values.yaml?

No response

Enter the command that you execute and failing/misfunctioning.

helm install

Anything else we need to know?

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

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions