Add Registration logic for Pod Info Custom Resource Definition. #191
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: Lint helm chart | |
on: | |
push: | |
branches: | |
- main | |
- v* | |
paths: | |
- 'install/kubernetes/**' | |
pull_request: | |
paths: | |
- 'install/kubernetes/**' | |
jobs: | |
generated-files: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Run install/kubernetes/test.sh | |
run: | | |
cd install/kubernetes && ./test.sh | |
- name: Validate generated files | |
run: | | |
test -z "$(git status --porcelain)" | |
if [ $? != 0 ]; then | |
git status --porcelain | |
echo "Please run 'cd install/kubernetes && ./test.sh' and submit your changes."; exit 1 | |
fi |