Skip to main content

Interface: RollbackOptions

Defined in: lib/k8s/rollback.ts:22

Options for a rollback operation.

Properties

dryRun?

optional dryRun?: boolean;

Defined in: lib/k8s/rollback.ts:32

If true, performs a server-side dry-run: the API server validates and processes the patch but does not persist it. The resulting resource is returned in dryRunResult.

See

K8s: Dry-Run


toRevision?

optional toRevision?: number;

Defined in: lib/k8s/rollback.ts:24

Target revision number. If omitted, rolls back to the previous revision.