diff --git a/.gitea/workflows/deploy-lib.sh b/.gitea/workflows/deploy-lib.sh index 0f6ee53..b25c4cd 100644 --- a/.gitea/workflows/deploy-lib.sh +++ b/.gitea/workflows/deploy-lib.sh @@ -705,6 +705,9 @@ check_referenced_secrets() { local missing=() refs="" for m in ${K8S_MANIFESTS[@]+"${K8S_MANIFESTS[@]}"}; do + if skip_uninstalled_vmagent_crd "$m"; then + continue + fi objects="$(kubectl create --dry-run=client --validate=false -f "$m" -o json)" || return 1 extracted="$(printf '%s' "$objects" | jq -r -f "$REPO/.gitea/workflows/secret-references.jq")" || return 1 refs+="$extracted"$'\n'