Skip to content

Test k8s matrix sanity check #12

Test k8s matrix sanity check

Test k8s matrix sanity check #12

Workflow file for this run

name: Install Helm Chart on Kind Cluster matrix
on:
push:
branches:
- matrix-test
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
# Kubernetes versions to test on
kubernetes_version: [v1.25.16, v1.26.15, v1.27.16, v1.28.13, v1.29.8, v1.30.4, v1.31.0]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
version: v0.24.0
kubectl_version: ${{ matrix.kubernetes_version }}
node_image: kindest/node:${{ matrix.kubernetes_version }}
- name: Add dependency chart repos
run: |
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
- name: Download chart dependencies before linting
run: helm dependency build deploy/helm
- name: Install Helm Chart
run: |
helm install my-release ./deploy/helm --wait --timeout 300s
continue-on-error: false
- name: Check Helm installation success
run: |
helm list