Skip to content

feat: Add context allowlist configuration with CLI flag and tests #23

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
Mar 21, 2025

Conversation

Tycale
Copy link
Contributor

@Tycale Tycale commented Mar 20, 2025

Thanks a lot for this project ! 🙌

I wanted to restrict K8s context access easily, this PR:

  • Introduces a new argument: --allowed-contexts=<ctx1,ctx2,...>
  • Updates config parsing and enforces restrictions across components
  • Adds unit tests and updates docs

@strowk
Copy link
Owner

strowk commented Mar 21, 2025

Nice work! Thanks for your contribution! I have only question about this CLAUDE.md file, is this some sort of guide for AI to write code? It looks ok to me, just curious what it is

@strowk strowk merged commit f55c464 into strowk:main Mar 21, 2025
2 of 3 checks passed
@strowk
Copy link
Owner

strowk commented Mar 21, 2025

Published it in https://github.com/strowk/mcp-k8s-go/releases/tag/v0.2.0

@Tycale
Copy link
Contributor Author

Tycale commented Mar 21, 2025

Thanks a lot !

CLAUDE.md file is for https://docs.anthropic.com/en/docs/agents-and-tools/claude-code/overview

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