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

Cachability of k8s_test_setup is dependent on the checksum of kubeconfig file #50

Open
scasagrande opened this issue Oct 15, 2024 · 0 comments

Comments

@scasagrande
Copy link

The cachability of k8s_test_setup, and thus tests that depend on it, has a dependency on your kubeconfig file. And since this contains certs, it will be different between each setup.

Normally this isn't a huge issue when a developer is locally re-running their tests, using their own local cache. However this causes cache issues for the following scenarios:

  • in ci when using ephemeral runners (travis, etc), and you're setting up a local temporary k8s cluster (eg, kind). This will result in a new checksum every run, preventing you from being able to use cached test results
  • developers using a centralized remote cache server
  • developers adding content to their kubeconfig file will invalidate their test runs
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