Skip to content

cloudbees-io/helm-package

Repository files navigation

CloudBees action: Package a Helm chart

Use this action to package a Helm chart into a versioned chart archive file.

Inputs

Table 1. Input details
Input name Data type Required? Description

chart

String

Yes

The path of the Helm chart to be packaged.

destination

String

Yes

The path of the packaged Helm chart.

version

String

Yes

The Helm release version.

app-version

String

Yes

The application version.

verify

Boolean

No

Default is false. When value is true, the package is verified.

sign

Boolean

No

Default is false. When value is true, the package is signed.

sign-key

String

No

The signing key.

Usage example

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"

License

This code is made available under the MIT license.

References

Development

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"}}'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

Languages