Skip to content

Feature: Enable support for Google Secrets Manager #58

@nycnewman

Description

@nycnewman

Seems that a minor change to konlet-startup would enable the use of Secrets Manager to inject environment variables directly into container from Secrets Manager. Using existing Auth credentials, one could make a call to Secrets Manager after it calls the Metadata store, get the secrets and map to environment variables. Something along lines of:

  • Set an Env variable as a flag to enable Secrets Manager (or use presences of the following....)
  • Set an Env variable with a list of Environment Variables to secrets name mappings
  • In konlet-startup, if the above is set then make authenticated call to Secrets Manager to pull secrets and add to spec.Container.Env
  • Startup container using existing process

We are going to see about creating a Pull Request with this change

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions