Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referencing a kubernetes secret for the value of OPENSEARCH_INITIAL_ADMIN_PASSWORD extraEnv #522

Open
vmm-afonso opened this issue Mar 1, 2024 · 3 comments
Labels
question Further information is requested

Comments

@vmm-afonso
Copy link

vmm-afonso commented Mar 1, 2024

Is your feature request related to a problem? Please describe.
This is meant to avoid exposing the initial Admin password in the extraEnvs to someone with access to the cluster who's able to see the statefulset yaml

Describe the solution you'd like
Something like this:

  - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD
    valueFrom:
      secretKeyRef:
        name: initial-admin-password
        key: password

referencing a key from a secret "initial-admin-password"

@vmm-afonso vmm-afonso added enhancement New feature or request untriaged Issues that have not yet been triaged labels Mar 1, 2024
@dhardy92
Copy link

dhardy92 commented Mar 8, 2024

@prudhvigodithi
Copy link
Collaborator

[Triage]
Thanks @dhardy92, @vmm-afonso can you please test with envFrom and see if that works for you?

@prudhvigodithi prudhvigodithi added question Further information is requested and removed untriaged Issues that have not yet been triaged enhancement New feature or request labels Apr 1, 2024
@bianchi2
Copy link

bianchi2 commented May 7, 2024

envFrom works like a charm for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: Backlog
Development

No branches or pull requests

4 participants