• Antoine Pelisse's avatar
    dry-run: Verify if the object supports dry-run · f2e2a930
    Antoine Pelisse authored
    For each object, first we verify if they have a dryRun parameter in the
    openapi for the patch verb. If we can't find the object, we assume that
    CRD will behave like "namespace". So we check if namespace supports
    dryRun. If it does, then we verify that the resource is a CRD.
    f2e2a930
diff.go 10.2 KB