Skip to content

ToolHive Operator: Set ProxyRunner SecurityContext #1285

@ChrisJBurns

Description

@ChrisJBurns

Description

As mentioned in this comment, we should set the securityContext for the ProxyRunner like we do with the individual MCPServers pods and containers themselves.

Change Proposal

For the ProxyRunner, we should implement the following securityContext configuration:

  • pod:
    • runAsNonRoot: true
    • runAsUser: 1000
    • runAsGroup: 1000
    • fsGroup: 1000
  • container:
    • priviledged: false
    • runAsNonRoot: true
    • runAsUser: 1000
    • runAsGroup: 1000
    • allowPrivilegeEscalation: false
    • readOnlyFileSystem: true

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions