use absolute path for kubeconform
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 27s
All checks were successful
Validate Kubernetes Manifests / kubeconform (pull_request) Successful in 27s
This commit is contained in:
@@ -71,7 +71,7 @@ jobs:
|
|||||||
echo "Found $KIND - using custom schema"
|
echo "Found $KIND - using custom schema"
|
||||||
SCHEMA_URL="https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/${SCHEMA_MAP[$KIND]}"
|
SCHEMA_URL="https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/${SCHEMA_MAP[$KIND]}"
|
||||||
|
|
||||||
if ! kubeconform \
|
if ! /kubeconform \
|
||||||
-schema-location "$SCHEMA_URL" \
|
-schema-location "$SCHEMA_URL" \
|
||||||
-cache "$KUBECONFORM_CACHE_DIR" \
|
-cache "$KUBECONFORM_CACHE_DIR" \
|
||||||
-output json \
|
-output json \
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Validating with default schemas"
|
echo "Validating with default schemas"
|
||||||
if ! kubeconform \
|
if ! /kubeconform \
|
||||||
-schema-location default \
|
-schema-location default \
|
||||||
-cache "$KUBECONFORM_CACHE_DIR" \
|
-cache "$KUBECONFORM_CACHE_DIR" \
|
||||||
-output json \
|
-output json \
|
||||||
|
|||||||
Reference in New Issue
Block a user