| `package-args` / `HELM_PACKAGE_ARGS` | The Helm [command with options](https://helm.sh/docs/helm/helm_package/) to perform the packaging (_without dynamic arguments such as the chart path_) | `package --dependency-update` |
| `publish-snapshot-enabled` / `HELM_PUBLISH_SNAPSHOT_ENABLED` | Set to `true` to enable publishing the snapshot (untested) chart during the packaging step | _none_ (disabled) |
| `publish-snapshot-suffix` / `HELM_PUBLISH_SNAPSHOT_SUFFIX` | Suffix is applied to snapshot chart builds, if one is published | `snapshot` |
| `semrel-release-disabled` / `HELM_SEMREL_RELEASE_DISABLED` | Set to `true` to disable usage of `semantic-release` release info for helm package (see next chapter) | _none_ (enabled) |
#### `semantic-release` integration
@@ -416,8 +417,11 @@ The general version format will be `<x.y.z>-<label>`:
* on the production branch (`main` or `main` or `master` by default), no trailing label is used
* on any other branch, `$CI_COMMIT_REF_SLUG` is used as trailing label<br/>
_(ex: `review-feature-12` on branch `review/feature-12`)_
* :warning: when `HELM_PUBLISH_SNAPSHOT_ENABLED` is enabled, the chart is additionally packaged (and published) with a label suffixed with `snapshot`<br/>
* :warning: when `HELM_PUBLISH_SNAPSHOT_ENABLED` is enabled, the chart is additionally packaged (and published) with a label suffixed with the value of `HELM_PUBLISH_SNAPSHOT_SUFFIX`, which defaults to `snapshot`<br/>
_(ex: `snapshot` on production branch and `review-feature-12-snapshot` on branch `review/feature-12`)_
* setting `HELM_PUBLISH_SNAPSHOT_SUFFIX` allows you to add a build identifier to the snapshot version, using any valid Gitlab CI variables, e.g.
```HELM_PUBLISH_SNAPSHOT_SUFFIX: snapshot-$CI_PIPELINE_ID```. This is useful if you are producing multiple snapshot builds on the same branch and want the snapshots to be stored uniquely.
* note that helm chart versions must be valid SemVer2, so any suffix must match valid pre-release and optionally build metadata requirements, as per [semver spec](https://semver.org/#spec-item-9)