Skip to content

chore: add runAsNonRoot for the pods that don't require it #58

chore: add runAsNonRoot for the pods that don't require it

chore: add runAsNonRoot for the pods that don't require it #58

Workflow file for this run

name: Packaging
on:
pull_request:
paths:
- deploy/charts/**
env:
VERSION_KIND: v0.20.0
jobs:
chart-testing:
name: Chart Testing
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.6.1
# FIXME
#- name: Run chart-testing (list-changed)
# id: list-changed
# run: |
# set -euo pipefail
# changed=$(ct list-changed --chart-dirs deploy/charts --target-branch ${{ github.base_ref }})
# if [[ -n "$changed" ]]; then
# echo "::set-output name=changed::true"
# fi
- name: Run chart-testing (lint)
run: |
set -euo pipefail
ct lint --chart-dirs deploy/charts --target-branch ${{ github.base_ref }} \
--validate-maintainers=false --check-version-increment=false
# FIXME
#- name: Create KinD cluster
# uses: engineerd/setup-kind@v0.5.0
# with:
# version: ${{ env.VERSION_KIND }}
# if: steps.list-changed.outputs.changed == 'true'
# FIXME
#- name: Run chart-testing (install)
# run: |
# set -euo pipefail
# ct install --chart-dirs deploy/charts