Skip to content
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

History

88 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Helm Github Action

LicenseGitHub Action StatusGitHub Workflow Version

Install Helm 3.7.0, Helmfile 0.141.0, update repositories if repositories config provided, and optionally executes Helm or Helmfile command

Example

Helm workflow

name: CIon: pushjobs:
helm:
name: Helmruns-on: ubuntu-20.04steps:
- name: Checkout sourcesuses: actions/checkout@main
- name: Get repositoriesuses: hiberbee/github-action-helm@1.5.0with:
helm: repo listrepository-config: test/repositories.yaml
- name: Lint chartrun: helm lint nginxworking-directory: test/charts
- name: Install releaseuses: hiberbee/github-action-helm@latestwith:
helm: upgrade --install --dry-run nginx test/charts/nginx

Helmfile workflow

name: Helmfile CIon: pushjobs:
helmfile:
name: Helmfileruns-on: ubuntu-20.04steps:
- name: Checkout sourcesuses: actions/checkout@main
- name: Setup K8s clusteruses: hiberbee/github-action-minikube@1.5.0
- name: Apply Helmfileuses: hiberbee/github-action-helm@1.3.0with:
helmfile: applyhelmfile-config: test/helmfile.yaml
- name: Get ingressesrun: kubectl get ingress

Repositories config example

By default this Github Action expects repositories.yaml created in repository root directory. Before updating repositories file existance will be checked. If you want to override, use repository-config input argument

apiVersion: v2repositories:
- name: stableurl: https://kubernetes-charts.storage.googleapis.comcaFile: ""# optionalcertFile: ""# optionalkeyFile: ""# optionalpassword: ""# optionalusername: ""# optional

About

Setup Helm and plugins, update repositories and applies configuration

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages