Install Helm 3.7.0, Helmfile 0.141.0, update repositories if repositories config provided, and optionally executes Helm or Helmfile command
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/nginxname: 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 ingressBy 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