Skip to content

Support for Reading Secrets from Files via Mounted Volumes #534

Closed

Description

@ChrisJBurns

Injecting secrets into containers as environment variables is a common approach many take. However, it isn't the most secure due to increased change of leaking. We should support the ability to read secrets as files within ToolHive and the Operator. The underlying MCP servers would already have this as an option because we offer the podTemplateSpec override in the MCPServer CRD. But for ToolHive and the Operator itself, we should consider supporting it also.

As we do not need it for now, this can be a lower priority.

Activity

  1. self-assigned this
    on May 31, 2025
  2. JAORMX commented on Sep 18, 2025

    @JAORMX
    Collaborator

    This is supported nowadays with the pod patch

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

Metadata

Metadata

Assignees

Labels

kubernetesp2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions