Skip to content

is_installed property uses helm status command#83

Open
EmanueleOversonic wants to merge 1 commit into
zbrookle:masterfrom
OversonicRobotics:master
Open

is_installed property uses helm status command#83
EmanueleOversonic wants to merge 1 commit into
zbrookle:masterfrom
OversonicRobotics:master

Conversation

@EmanueleOversonic

Copy link
Copy Markdown

This pull request aims to fix a bug in the is_installed property of the chart builder class:
the property uses the command helm list and check if the release is in the list of releases, but this command will only show a limited number of results (256) and the releases after the 256th will result as uninstalled. This could be fixed setting an higher limit, but this is not scalable in cluster with a great number of releases.
So we made the property use the helm status command and check for the return code, which is faster and fixed the bug

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 this pull request may close these issues.

1 participant