Skip to content
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

[bug] helm chart version is not semver compliant #529

Closed
morremeyer opened this issue Oct 4, 2023 · 1 comment · Fixed by #565, #538 or #580
Closed

[bug] helm chart version is not semver compliant #529

morremeyer opened this issue Oct 4, 2023 · 1 comment · Fixed by #565, #538 or #580
Labels
enhancement New feature or request

Comments

@morremeyer
Copy link
Contributor

As per https://helm.sh/docs/topics/charts/#the-chartyaml-file, a helm chart version has to be a SemVer 2.0.0 version.

The hcloud/hcloud-cloud-controller-manager chart is not a valid helm chart currently since it does not use a SemVer 2.0.0 version (due to the v prefix).

@apricote
Copy link
Member

Hey @morremeyer,

thanks for reporting this. We are open for taking PRs on this.

Locations I can currently think of that need to be adjusted:

One additional thing to take care of is the image tag reference. The image tags DO contain the v and we currently use the Chart version as the tag. The v can be added to the default value:

tag: '{{ $.Chart.Version }}'

@apricote apricote added the enhancement New feature or request label Oct 10, 2023
apricote added a commit that referenced this issue Dec 1, 2023
This makes sure that the chart version is fully semver compliant, as Helm expects.

Fixes #529

Signed-off-by: kranurag7 <81210977+kranurag7@users.noreply.github.com>
Co-authored-by: Julian Tölle <julian.toelle@hetzner-cloud.de>
Release-As: 1.19.0-rc.0
apricote pushed a commit that referenced this issue Dec 1, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.19.0-rc.0](v1.18.0...v1.19.0-rc.0)
(2023-12-01)


### Features

* **chart:** add daemonset and node selector
([#537](#537))
([a94384f](a94384f))
* **config:** stricter validation for settings
`HCLOUD_LOAD_BALANCERS_ENABLED`, `HCLOUD_METRICS_ENABLED` &
`HCLOUD_NETWORK_ROUTES_ENABLED`
([#546](#546))
([335a2c9](335a2c9))
* **helm:** remove "v" prefix from chart version
([#565](#565))
([f11aa0d](f11aa0d)),
closes
[#529](#529)
* **load-balancer:** handle planned targets exceedings max targets
([#570](#570))
([8bb131f](8bb131f))
* remove unused variable NODE_NAME
([#545](#545))
([a659408](a659408))
* **robot:** handle ratelimiting with constant backoff
([#572](#572))
([2ddc201](2ddc201))
* support for Robot servers
([#561](#561))
([65dea11](65dea11))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
apricote added a commit that referenced this issue Dec 7, 2023
## [1.19.0](v1.18.0...v1.19.0)
(2023-12-07)


### Features

* **chart:** add daemonset and node selector
([#537](#537))
([a94384f](a94384f))
* **config:** stricter validation for settings
`HCLOUD_LOAD_BALANCERS_ENABLED`, `HCLOUD_METRICS_ENABLED` &
`HCLOUD_NETWORK_ROUTES_ENABLED`
([#546](#546))
([335a2c9](335a2c9))
* **helm:** remove "v" prefix from chart version
([#565](#565))
([f11aa0d](f11aa0d)),
closes
[#529](#529)
* **load-balancer:** handle planned targets exceedings max targets
([#570](#570))
([8bb131f](8bb131f))
* remove unused variable NODE_NAME
([#545](#545))
([a659408](a659408))
* **robot:** handle ratelimiting with constant backoff
([#572](#572))
([2ddc201](2ddc201))
* support for Robot servers
([#561](#561))
([65dea11](65dea11))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants