Bump bitnami/configmap-reload from 0.7.1 to 0.12.0 in /cost-analyzer #613
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Chart build | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
test-chart: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: Helm lint | |
working-directory: ./cost-analyzer | |
run: helm lint | |
- name: Helm template | |
working-directory: ./cost-analyzer | |
run: helm template . --set global.prometheus.enabled=false --set global.grafana.enabled=false > full.yaml | |
- name: Kubeconform | |
uses: docker://ghcr.io/yannh/kubeconform:latest | |
with: | |
entrypoint: /kubeconform | |
args: "-summary -output text ./cost-analyzer/full.yaml" | |
# Installs the chart across a matrix of modern Kubernetes versions | |
deploy-chart: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
k8s-version: | |
- name: v1.23 | |
version: v1.23.17 | |
- name: v1.24 | |
version: v1.24.15 | |
- name: v1.25 | |
version: v1.25.11 | |
- name: v1.26 | |
version: v1.26.6 | |
- name: v1.27 | |
version: v1.27.3 | |
- name: v1.28 | |
version: v1.28.0 | |
needs: test-chart | |
name: ${{ matrix.k8s-version.name }} test | |
steps: | |
- name: Checkout | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: Create KinD cluster | |
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 | |
with: | |
version: v0.20.0 | |
node_image: kindest/node:${{ matrix.k8s-version.version }} | |
kubectl_version: ${{ matrix.k8s-version.version }} | |
- name: Install Kubecost chart | |
working-directory: ./cost-analyzer | |
run: | | |
helm install --wait --wait-for-jobs kubecost . --namespace kubecost --create-namespace --set global.prometheus.enabled=false --set global.grafana.enabled=false |