-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Does CNTI support Helm charts with nested dependencies? #2183
Comments
We are getting the same issue after deleting the already present
Yes, manually created the config file and tried setting up the cnf but it fails with the same below logs:
config file:
|
The CNF we are trying to test has 3-4 levels of dependent charts in the directory. |
If I understand it correctly the As a side note: The helm library went through quite the rewrite in recent updates and on the newest version I managed to deploy a nested helm chart (Kafka with the zookeeper dependency). I believe that there was not that big of a change in terms of the logic so nested helm charts should probably work even on the older versions. |
From looking at the logs, I can ensure that |
It would be very helpful if you could specify the CNTI version that fully supports airgap testing. |
Hi, airgap support was fully removed in CNF-Testsuite 1.3.2 |
It seems that I cannot replicate the issue. I've managed to deploy a helm chart with nested dependencies on the version
Do you get the info log output upon running |
Yes we were getting info logs.
Tried it encountering the same issue. |
Alright, here’s where we stand. Since airgap mode is no longer supported in the latest versions, and we’re not maintaining older releases, this might need to be left unresolved. I highly recommend finding a way to use the latest version, but I understand that might not be possible in your case. Alternatively, you’re welcome to submit a pull request to reintroduce airgap mode in latest version if it’s important for your setup. If you’re sticking with v1 I cannot help you without the logs, you’ll probably have to clone the repo, tweak the logging code, and build your own binary. Here are the changes you can make to ensure logs are flushed properly (if this doesn’t work, I’m honestly out of ideas): In src/tasks/utils/utils.cr:
to this:
That should help ensure logs are printed out. However, even if we fix the logging issue, if the underlying bug with nested helm chart dependencies is within the testsuite itself, the chances of us releasing a fix for v1 are very slim. I’ll still try to help diagnose the issue, but resolving it will likely require some effort on your end. |
Okay, We will see if we can migrate to the latest version or maybe find a way to resolve the issue. Thanks for the support @svteb. |
Scenario
Our Helm chart setup involves multiple nested levels (3-4 layers deep). While attempting to generate a
cnf-testsuite.yml
for the chart, we encountered the error mentioned below.There are not adequate logs when using the
-l DEBUG
option. And when deploying the same chart via helm command it seems to be working fine.Is there any limitation with the tool for recurring level charts or there is something else?
Tools Info:
cnti version: v.1.1.0 (Required airgap support)
helm version: v3.15.2
The text was updated successfully, but these errors were encountered: