Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I vote for a cleanup:
CHART_VERSIONin theimageworkflow toAPP_VERSION. Also do not strip the leadingvoff it anymore (i.e. instead of running this script withCHART_VERSION=0.8.1, it should be run withAPP_VERSION=v.0.8.1).vhere in this script to form a validversionfor the Helm chart.versionandappVersionin the Chart.yaml with0.0.0to indicate that their values are entirely irrelevant, should never be touched and would be overwritten with every kube-bind release anyway. Ideally a small comment# updated by helm-build.sh during the buildis placed somewhere in there, too.My reasoning is that my brain finds the thought
more confusing than
^^ Especially since we're not actually maintining a dedicated version just for the chart, we derive it from the appVersion (the Git tag).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could do this, wdyt @mjudeikis?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to contribute. I dont see this complex, so if you have ideas how to make it better - take a stab.