Convert proxy StatefulSet #76
Workflow file for this run
This file contains hidden or 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: Lint Helm Charts | |
| on: | |
| pull_request: | |
| paths: | |
| - 'charts/**' | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| release: | |
| runs-on: [self-hosted, Linux, X64] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Helm | |
| uses: azure/setup-helm@v4 | |
| - name: Lint Helm charts | |
| run: | | |
| for chart in charts/*/; do | |
| if [ -f "$chart/Chart.yaml" ]; then | |
| echo "Validating $chart" | |
| helm lint "$chart" --strict | |
| helm template "$chart" --debug | |
| fi | |
| done | |
| - name: Setup kubeconform | |
| uses: alexellis/arkade-get@master | |
| with: | |
| kubeconform: latest | |
| - name: Validate Kubernetes manifests | |
| run: | | |
| for chart in charts/*/; do | |
| if [ -f "$chart/Chart.yaml" ]; then | |
| echo "Validating Kubernetes manifests for $chart" | |
| helm template "$chart" | kubeconform -strict -ignore-missing-schemas | |
| fi | |
| done |