We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc1b352 + 7bae762 commit c215d77Copy full SHA for c215d77
client-java-contrib/generate.sh
@@ -49,7 +49,7 @@ kind create cluster
49
# install CRDs to the KinD cluster and dump the swagger spec
50
for url in "${CRD_URLS[@]}"; do
51
if [[ ! -z $url ]]; then
52
- kubectl apply -f "$url"
+ kubectl create -f "$url"
53
fi
54
done
55
@@ -82,4 +82,4 @@ bash java-crd-cmd.sh -n "${KUBERNETES_CRD_GROUP_PREFIX}" -p "${PACKAGE_NAME}" -l
82
# only keep the model classes
83
mkdir -p "${OUTPUT_DIR}/src/main/java/${PACKAGE_NAME//.//}"
84
cp -r "${OUTPUT_DIR}/gen/src/main/java/${PACKAGE_NAME//.//}/models" "${OUTPUT_DIR}/src/main/java/${PACKAGE_NAME//.//}"
85
-rm -rf "${OUTPUT_DIR}/gen"
+rm -rf "${OUTPUT_DIR}/gen"
0 commit comments