siderolabs / talos-cloud-controller-manager

Generic cloud controller manager for hybrid deployments using Talos OS
MIT License
57 stars 10 forks source link

fix: prepend v to .Chart.AppVersion for image #99

Closed kanya-approve closed 9 months ago

kanya-approve commented 1 year ago

What?

This is supposed to resolve #96. This will prepend v to the image.

Why?

Helm deployment fails because the "ghcr.io/siderolabs/talos-cloud-controller-manager:1.4.0" image does not exist.

Acceptance

sergelogvinov commented 1 year ago

Thank you for your PR. I believe it was human error, than I did release procedure. I think the bast way to solve it in future to add test in github actions .github/workflows/release-pre.yaml.

make docs - knows the release TAG, and it can check the version in Chart.yaml file.

kanya-approve commented 1 year ago

What else should I add?

sergelogvinov commented 1 year ago

What else should I add?

how about this yq -i '.appVersion = "v1.2.3"' charts/talos-cloud-controller-manager/Chart.yaml

It will replace latest tag in Chart.yaml, if we set right version - the Chart.yaml would not change. here .github/workflows/release-pre.yaml we have 'Check' step -> git diff --exit-code

kanya-approve commented 1 year ago

Are you ok with the chart version reflecting as v{ACTUAL_VERSION} vs. ACTUAL_VERSION

sergelogvinov commented 1 year ago

Are you ok with the chart version reflecting as v{ACTUAL_VERSION} vs. ACTUAL_VERSION

Hello, git tag already have v prefix, so I believe the best way to fix this typo is to check proper string in helm.appVersion. Otherwise, we did not fix like this typo in the future... (appVersion == git-tag)

What do you think?

sergelogvinov commented 9 months ago

/m

sergelogvinov commented 9 months ago

/m

sergelogvinov commented 9 months ago

@kanya-approve Thank you.

sergelogvinov commented 9 months ago

/m