-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
chore: bumping helm chart sematically #296
chore: bumping helm chart sematically #296
Conversation
I've removed the app version config as it isn't really a thing with this chart and is optional anyway. The underlying controller container version maybe defines what app version is being ran and this can be configured in the chart Lints OK outside of the deprecating errors, these are highlighted as needing bumping on #144 and should probably be looked at sooner rather than later @mumoshu 🙏 😅 , this isn't a Helm problem though: ==> Linting actions-runner-controller/
[INFO] Chart.yaml: icon is recommended
[WARNING] templates/webhook_configs.yaml: admissionregistration.k8s.io/v1beta1 MutatingWebhookConfiguration is deprecated in v1.16+, unavailable in v1.22+; use admissionregistration.k8s.io/v1 MutatingWebhookConfiguration
[WARNING] templates/webhook_configs.yaml: admissionregistration.k8s.io/v1beta1 ValidatingWebhookConfiguration is deprecated in v1.16+, unavailable in v1.22+; use admissionregistration.k8s.io/v1 ValidatingWebhookConfiguration |
@mumoshu Just noticed you use the The concept of a static app verison with this chart breaks down quickly becoming meaningless. Defining the app version can be complicated to start with, is it the controller container version? Is it the kube-proxy container version? Is it the dind container version? Even if we agree that the controller container is the version it's a bit meaningless for this project with regards to Helm as the charts Additionally, removing it would also simplify bumping the chart version when a release is needed. EDIT Worded better |
@callum-tait-pbx Hey! I was thinking that
Thoughts? |
I'm totally fine with keeping the # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using. This obviously isn't true for this project as the # This is the minimum controller version that this version of the chart supports.
# Increment only when the minimum version has changed. This just might be confusing to anyone who is used to Helm as they won't see that comment if they are deploying from this repository and so will assume the Let me know if you want it re-added, happy to do so. I would however shy away from using it as the source version for any aspect of the templating and instead rely on the |
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.
Makes sense! Let's go ahead without appVersion. In the future, we may revisit once anyone asks about which chart version supports which version of controller - but I believe we have no strong reason to do so right now 😃
Thanks for the detailed feedback and the fix, @callum-tait-pbx!
Chart verison needs bumping again, I did it right this time 😅