Skip to content

feat: custom config.toml from existing secret or plain text #116

feat: custom config.toml from existing secret or plain text

feat: custom config.toml from existing secret or plain text #116

Workflow file for this run

name: Test Chart
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
paths:
- "charts/**"
- ".github/workflows/**"
jobs:
test:
name: Test Helm Chart
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v4
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
if [[ -n "$changed" ]]; then
echo "changed=true" >> $GITHUB_OUTPUT
fi
- name: Run chart-testing (lint)
run: ct lint --check-version-increment=false --target-branch ${{ github.event.repository.default_branch }}
- name: Create kind cluster
uses: helm/kind-action@v1.10.0
if: github.ref == 'refs/heads/main' || steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install)
id: chart-install
run: ct install --remote origin --all
if: github.ref == 'refs/heads/main' || steps.list-changed.outputs.changed == 'true'