This action runs a helm upgrade command to deploy charts using the kubernetes context defined in the environment
If True
, chart-name
must be a local path, if False
chart will be installed from a remote chart repository.
The URL of the chart repository.
Required if local-chart
is False
The name of the chart repository. The chart-name
should then be prefixed with this repository name.
Required if local-chart
is False
Required The name of the chart with repository.
Required The name of the release to deploy.
Required The name of the namespace to deploy the release in.
False
to fail if the namespace does not exist.
Default: True
A path to an existing values.yaml file to pass to helm upgrade.
If True
wait for resources to be ready.
Default: False
If True
display debug output.
Default: False
If True
it does not create resources.
Default: False
Values to set on the fly.
# Example
release-set-values: |
image:
repository: nginx
tag: 1.1.0
Example for a local chart:
- name: Install myChart
uses: airnity/helm-upgrade-action@master
with:
local-chart: "True"
chart: ./charts/myChart #Required
release-name: myRelease #Required
release-namespace: myNamespace #Required
create-namespace: "True"
values-file-path: ./.ci/customValues.yaml
wait: "True"
debug: "False"
dry-run: "False"
release-set-values: |
image:
repository: myContainerRegistry/myContainerImage
tags: 1.1.0
Example for a remote chart:
- name: Install external-dns
uses: airnity/helm-upgrade-action@master
with:
local-chart: "False"
chart-repository-url: https://kubernetes-sigs.github.io/external-dns/ #Required as local-chart is False
chart-repository-name: external-dns #Required as local-chart is False
chart: external-dns/external-dns #Required
release-name: myRelease #Required
release-namespace: myNamespace #Required
create-namespace: "True"
values-file-path: ./.ci/customValues.yaml
wait: "True"
debug: "False"
dry-run: "False"
release-set-values: |
serviceAccount:
create: false
name: myServiceAccount