Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
Signed-off-by: sadath-12 <[email protected]>
  • Loading branch information
sadath-12 committed Dec 28, 2023
1 parent 16095e1 commit 29427be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
if echo "${{ env.changed_files }}" | grep -q 'pkg/k8s/apis/cilium.io/client/crds/v1alpha1/'; then
new_version=$(grep 'CustomResourceDefinitionSchemaVersion' pkg/k8s/apis/cilium.io/v1alpha1/register.go | awk -F'"' '{print $2}')
echo "New CRD version: $new_version"
if [ -z "$new_version" ]; then
echo "Error: CRD version not found! Please ensure the CustomResourceDefinitionSchemaVersion exists in register.go"
exit 1
Expand Down

0 comments on commit 29427be

Please sign in to comment.