skaffold.star¶
Bump Helm chart versions deployed by Skaffold.
Edits are line-based, so comments and profiles in skaffold.yaml stay as
they were. For the apiVersion of the config itself, run skaffold fix
in a run step: schema upgrades rename fields, which it knows how to do.
| Function | What it does |
|---|---|
files |
Lists the repo's Skaffold configs. |
set_helm_release_version |
Sets the version of every Helm release that installs a remote chart. |
files¶
Lists the repo's Skaffold configs.
Arguments
| Name | Description |
|---|---|
repo |
The repo passed to change(repo). |
Returns: The sorted paths of every skaffold.yaml and skaffold.yml.
Example
set_helm_release_version¶
Sets the version of every Helm release that installs a remote chart.
A newer version already there is kept, so a campaign never lowers one.
Arguments
| Name | Description |
|---|---|
repo |
The repo passed to change(repo). |
chart |
The release's remoteChart, such as bitnami/postgresql. |
version |
The new chart version. |
Returns: The list of paths that changed.
Example