Skip to content
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

Support Passing Kubernetes Context in Target? #17

Open
evandam opened this issue Oct 6, 2023 · 0 comments
Open

Support Passing Kubernetes Context in Target? #17

evandam opened this issue Oct 6, 2023 · 0 comments

Comments

@evandam
Copy link

evandam commented Oct 6, 2023

Detailed Description

It would be helpful if there was a way to run inspec exec my_profile -t k8s://<KUBE_CONTEXT>, but it doesn't currently seem possible if I understand.

As far as I can tell, k8s:// is always used and picks up the currently active context?

Context

This would make it easier to run InSpec against multiple Kubernetes clusters. Maybe there's another way but I wasn't able to find anything in docs 🙌

Possible Implementation

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

No branches or pull requests

1 participant