8000 feat: set TOOLHIVE_SECRETS_PROVIDER=none for K8s proxy runner pods by JAORMX · Pull Request #684 · stacklok/toolhive · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: set TOOLHIVE_SECRETS_PROVIDER=none for K8s proxy runner pods #684

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

Merged
merged 1 commit into from
Jun 9, 2025

Conversation

JAORMX
Copy link
Collaborator
@JAORMX JAORMX commented Jun 9, 2025

Summary

This PR adds the TOOLHIVE_SECRETS_PROVIDER=none environment variable to all proxy runner pods created by the thv-operator in Kubernetes.

Changes

  • Modified mcpserver_controller.go to automatically set TOOLHIVE_SECRETS_PROVIDER=none for all proxy runner pods
  • Added test TestDeploymentForMCPServerSecretsProviderEnv to verify the environment variable is correctly set
  • Ensures proper secrets provider configuration for Kubernetes deployments
  • Maintains backwards compatibility with existing MCPServer configurations

Testing

  • All existing tests continue to pass
  • New test specifically validates the environment variable presence and value
  • Linting passes with no issues

Related

This addresses the requirement to set the TOOLHIVE_SECRETS_PROVIDER environment variable to none when running in Kubernetes environments.

- Add TOOLHIVE_SECRETS_PROVIDER=none environment variable to all proxy runner pods created by the operator
- Ensures proper secrets provider configuration for Kubernetes deployments
- Add test to verify the environment variable is correctly set
- Maintains backwards compatibility with existing MCPServer configurations
@JAORMX JAORMX merged commit a800f25 into main Jun 9, 2025
17 checks passed
@JAORMX JAORMX deleted the feat/set-secrets-provider-none-k8s branch June 9, 2025 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0