Replies: 1 comment
-
kube-api-test doesn't run controllers, so it's likely that you won't be able to test some scenarios. In Eclipse JKube we do have some integration tests that rely on kube-api-server, maybe you want to take a look: If your charts are more complex, I'd recommend you to switch to test containers or any other solution which allows you to perform the test with a real or semi-real cluster. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I'm trying to test the Helm installation of my app using the kube-api-test module. The issue I'm facing is, that
helm install
always fails, logging messages like:So naturally, I tried to create the required PVs (and StorageClass) before running helm install, but the PVs are stuck in Pending state and hence the PVCs are also stuck in Pending.
Here is a similar issue filed for kwok, where creating the StorageClass and PV upfront apparently does solve the problem.
Now I'm curious whether I'm missing something or whether this just fundamentally doesn't work with the kube-api-test approach?
Beta Was this translation helpful? Give feedback.
All reactions