Skip to content

Commit

Permalink
Move invalid examples to channel names instead of version
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Young <nick@isovalent.com>
  • Loading branch information
youngnick committed Sep 5, 2023
1 parent 8c05428 commit b8136bc
Show file tree
Hide file tree
Showing 37 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/verify-crds-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ for CHANNEL in experimental standard; do
# This lets us check the output in a cleaner way than a grep pipeline.
for file in $(find hack/invalid-examples -name "*.yaml"); do
# Don't check alpha resources in Standard checks
if [[ "$file" =~ "v1alpha2" && "$CHANNEL" == "standard" ]]; then
if [[ "$file" =~ "experimental" && "$CHANNEL" == "standard" ]]; then
continue
fi

Expand Down Expand Up @@ -177,7 +177,7 @@ for CHANNEL in experimental standard; do

for file in $(find hack/invalid-examples -name "*.yaml"); do
# Don't check alpha resources in Standard checks
if [[ "$file" =~ "v1alpha2" && "$CHANNEL" == "standard" ]]; then
if [[ "$file" =~ "experimental" && "$CHANNEL" == "standard" ]]; then
continue
fi

Expand Down

0 comments on commit b8136bc

Please sign in to comment.