Files
plugin-drone-helm-push/README.md
T
2024-01-12 12:07:06 +05:30

3.4 KiB
Raw Blame History

drone-helm-chart-docker-registry

Synopsis

This plugin is designed to streamline the packaging and distribution of Helm charts to a Docker registry.

To learn how to utilize Drone plugins in Harness CI, please consult the provided documentation.

Parameters

Parameter Choices/Defaults Comments
plugin_registry
string
required
Docker registry where the packaged chart will be published
chart_path
string
Defaults: ./ Directory containing the helm chart
username
string
required
Username to login to the above registry.
token
string
required
PAT / access token to authenticate
namespace
string
required
Namespace under which the chart will be published

Notes

If you're using GAR, use oauth2accesstoken as username and access-token as token.

Plugin Image

The plugin harnesscommunity/drone-helm-chart-docker-registry is available for the following architectures:

OS Tag
linux/amd64 linux-amd64
linux/arm64 linux-arm64
windows/amd64 windows-amd64

Examples

# Plugin YAML
- step:
    type: Plugin
    name: Push Helm to Docker
    identifier: Push_Helm_to_Docker
    spec:
        connectorRef: harness-docker-connector
        image: harnesscommunity/drone-helm-chart-docker-registry
        settings:
            chart_name: mywebapp
            docker_username: <+variable.docker_username>
            docker_password: <+secrets.getValue("docker_pat")>
            chart_path: test
            chart_version: 5.0.0
            docker_namespace: <+variable.namespace>

If you notice any issues in this documentation, you can edit this document to improve it.