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

Provide a mechanism for authenticating to k8s using environment variables #230

Open
pablochacin opened this issue Jun 26, 2023 · 0 comments
Labels
enhancement New feature or request needs evaluation issue needs evaluation to assess viability or impact

Comments

@pablochacin
Copy link
Collaborator

xk6-disruptor requires interaction with the Kubernetes cluster in order to inject the faults in the targets. In order to do so, it needs to authenticate to the Kubernetes cluster.

Presently, this authentication requires either a kubeconfig file, or a service account mounted as a secret if running in-cluster (for example, using the k6-operator).

There are other usage scenarios, for example, when running in a CI/CD worker, on which neither of those methods is convenient.

Therefore, it would be convenient to be able to configure the credentials from environment variables.

For example, authenticate given the URL to the API server and a bearer token.

@pablochacin pablochacin added enhancement New feature or request needs evaluation issue needs evaluation to assess viability or impact labels Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs evaluation issue needs evaluation to assess viability or impact
Projects
None yet
Development

No branches or pull requests

1 participant