remove not needed code
This commit is contained in:
@@ -38,14 +38,6 @@ jobs:
|
||||
**.yml
|
||||
!.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
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
env:
|
||||
@@ -77,7 +69,6 @@ jobs:
|
||||
SCHEMA_URL="https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/${SCHEMA_MAP[$KIND]}"
|
||||
|
||||
if ! /kubeconform \
|
||||
-config /tmp/kubeconform-config.yaml \
|
||||
-schema-location "$SCHEMA_URL" \
|
||||
-cache "$KUBECONFORM_CACHE_DIR" \
|
||||
-output json \
|
||||
@@ -87,7 +78,6 @@ jobs:
|
||||
else
|
||||
echo "Validating with default schemas"
|
||||
if ! /kubeconform \
|
||||
-config /tmp/kubeconform-config.yaml \
|
||||
-schema-location default \
|
||||
-cache "$KUBECONFORM_CACHE_DIR" \
|
||||
-output json \
|
||||
|
||||
Reference in New Issue
Block a user