remove not needed code

This commit is contained in:
2025-12-12 16:25:41 +05:30
parent 953de482a5
commit dfb3b13317

View File

@@ -38,14 +38,6 @@ jobs:
**.yml **.yml
!.gitea/workflows/** !.gitea/workflows/**
- name: Create kubeconform configuration
run: |
cat > /tmp/kubeconform-config.yaml << 'EOF'
schema_location:
- default
- "https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json"
EOF
- name: Validate Manifests - name: Validate Manifests
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'
env: env:
@@ -77,7 +69,6 @@ jobs:
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 \
-config /tmp/kubeconform-config.yaml \
-schema-location "$SCHEMA_URL" \ -schema-location "$SCHEMA_URL" \
-cache "$KUBECONFORM_CACHE_DIR" \ -cache "$KUBECONFORM_CACHE_DIR" \
-output json \ -output json \
@@ -87,7 +78,6 @@ jobs:
else else
echo "Validating with default schemas" echo "Validating with default schemas"
if ! /kubeconform \ if ! /kubeconform \
-config /tmp/kubeconform-config.yaml \
-schema-location default \ -schema-location default \
-cache "$KUBECONFORM_CACHE_DIR" \ -cache "$KUBECONFORM_CACHE_DIR" \
-output json \ -output json \