Skip to content

[helm] Declarative secrets support for config provider markers #3686

Description

@fresh-borzoni

Search before asking

  • I searched in the issues and found nothing similar.

Description

#3658 added config providers, so a server.yaml value can be a ${directory:...} marker instead of a literal secret. But on Kubernetes, actually using that with our chart is still manual: you have to wire extraVolumes, mount the Secret, and hand-write the config.providers lines, including allowed.paths, which is easy to get wrong and is the security guard.

The chart should make this declarative: say which Secrets you want mounted (or injected as env), and get the provider config generated for you, with allowed.paths and the env allowlist derived from what you declared, so the guards are correct by construction and the rendered ConfigMap never contains secret material.

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions