Skip to content

Commit

Permalink
ci: filter non-required values element
Browse files Browse the repository at this point in the history
Signed-off-by: Tung Bui <[email protected]>
  • Loading branch information
tungbq committed Aug 8, 2023
1 parent 3cce89f commit 9eeee06
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/verify-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
cd charts/velero
mkdir diff_workspace
echo "Filter non-required values"
for yaml_file in crds/*.yaml; do
yq -i 'del(.status)' "$yaml_file"
done
echo "Generate velero manifest file"
velero install --crds-only --dry-run -o yaml | kubectl apply --dry-run=client -f - -o yaml > diff_workspace/velero_manifest.yaml
echo "Generate crds manifest file"
Expand Down

0 comments on commit 9eeee06

Please sign in to comment.