-
Notifications
You must be signed in to change notification settings - Fork 107
Description
The Release workflow is currently failing with:
Error: error creating GitHub release cert-exporter-3.10.0: POST https://api.github.com/repos/joe-elliott/cert-exporter/releases: 422 Validation Failed [{Resource:Release Field:tag_name Code:already_exists Message:}]
The failing step is: Run chart-releaser. Problem seems to be that the chart releaser packages chart version 3.10.0 which already exists. My guess without having had too much of a look into this external action: it read the chart version from the Chart.yaml and uses this one for packaging and uploading. If that's true, the fix would be to bump the chart's version [1], e.g. to 3.11.0.
[1]
cert-exporter/helm/cert-exporter/Chart.yaml
Lines 6 to 7 in 57bea1f
| version: 3.10.0 | |
| appVersion: v2.14.0 |
Update: A new app version also needs to be released (v2.15.0 in this case). Tested the version bump, updated release workflow, and the final container running in our k8s cluster, and is currently works without any issues. Changes I made are in [2].