helm-controller icon indicating copy to clipboard operation
helm-controller copied to clipboard

Only deploy prerelease versions

Open PeteMac88 opened this issue 1 year ago • 1 comments

Hey there, we have a use case for which we automatically want to deploy prerelease versions of a chart but skip the release versions. In our case the semver tag has following format "x.x.x-staging.x". So for example:

1.0.0-staging.1 -> deploy 1.0.0-staging.2 -> deploy 1.0.0 -> skip 1.0.1-staging.1 -> deploy

When we use a version declaration like version: ">1.0.0-0" also the release version is deployed.

Is this possible? I know this is not really the way you work with semver versioning and we have the possibility to release a second chart but if its possible we could skip this additional effort.

thanks

PeteMac88 avatar Feb 28 '24 16:02 PeteMac88

This would be addressed for OCI charts when we implement:

  • https://github.com/fluxcd/helm-controller/issues/789
  • https://github.com/fluxcd/source-controller/issues/1391

stefanprodan avatar Mar 04 '24 14:03 stefanprodan