Use this action to package a Helm chart into a versioned chart archive file.
| Input name | Data type | Required? | Description |
|---|---|---|---|
|
String |
Yes |
The path of the Helm chart to be packaged. |
|
String |
Yes |
The path of the packaged Helm chart. |
|
String |
Yes |
The Helm release version. |
|
String |
Yes |
The application version. |
|
Boolean |
No |
Default is |
|
Boolean |
No |
Default is |
|
String |
No |
The signing key. |
In your YAML file, add:
- name: Package Helm chart
uses: cloudbees-io/helm-package@v1
with:
chart: ./charts/example
destination: ./output-directory
version: "0.0.1"
app-version: "0.3.0"
verify: "false"
sign: "false"
sign-key: "mykeyname"This code is made available under the MIT license.
-
Learn more about using actions in CloudBees workflows.
-
Learn about the CloudBees platform.
To test changes to the Action binary locally, run:
make
rm -rf /tmp/output
mkdir -p /tmp/output
RUNNER_TEMP=/tmp CLOUDBEES_OUTPUTS=/tmp/output ./bin/cbhelmpkg ./charts/example/ --embed-values='{"addPackagedValue": true, "packagedValue": "fake value", "myobj": {"otherproperty": "overwritten"}}'