mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-05-11 11:48:33 +00:00
14 lines
310 B
Bash
14 lines
310 B
Bash
#!/bin/bash
|
|
|
|
source "$(dirname "${BASH_SOURCE}")/init.sh"
|
|
|
|
for f in $HUB_CRD_FILES
|
|
do
|
|
diff -N $f ./deploy/hub/$(basename $f) || ( echo 'crd content is incorrect' && false )
|
|
done
|
|
|
|
for f in $SPOKE_CRD_FILES
|
|
do
|
|
diff -N $f ./deploy/spoke/$(basename $f) || ( echo 'crd content is incorrect' && false )
|
|
done
|