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 dynamic Kubernetes secrets #6

Closed
julienduchesne opened this issue Nov 25, 2021 · 0 comments · Fixed by #10
Closed

Support dynamic Kubernetes secrets #6

julienduchesne opened this issue Nov 25, 2021 · 0 comments · Fixed by #10

Comments

@julienduchesne
Copy link
Member

Secrets are currently supported by being mounted on the load tester: https://github.com/grafana/flagger-k6-webhook#injecting-secrets-and-configuration

In cases where tests are coming from multiple namespaces/workloads, this can be a bit cumbersome because all secrets must be mounted on that central load tester deployment. The load tester is also restarted every time a secret is added (potentially cancelling some load tests)

The Flagger webhook payload should support a secret mapping structure that allows env variables to be created dynamically from Kubernetes secrets and injected into the k6 run process

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 a pull request may close this issue.

1 participant