@kubernetes-models/flux-cd
Version:
51 lines (50 loc) • 1.6 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* Rollback holds the configuration for Helm rollback actions for this
* HelmRelease.
*/
export interface IRollback {
/**
* CleanupOnFail allows deletion of new resources created during the Helm
* rollback action when it fails.
*/
"cleanupOnFail"?: boolean;
/**
* DisableHooks prevents hooks from running during the Helm rollback action.
*/
"disableHooks"?: boolean;
/**
* DisableWait disables the waiting for resources to be ready after a Helm
* rollback has been performed.
*/
"disableWait"?: boolean;
/**
* DisableWaitForJobs disables waiting for jobs to complete after a Helm
* rollback has been performed.
*/
"disableWaitForJobs"?: boolean;
/**
* Force forces resource updates through a replacement strategy.
*/
"force"?: boolean;
/**
* Recreate performs pod restarts for the resource if applicable.
*/
"recreate"?: boolean;
"timeout"?: string;
}
/**
* Rollback holds the configuration for Helm rollback actions for this
* HelmRelease.
*/
export declare class Rollback extends Model<IRollback> implements IRollback {
"cleanupOnFail"?: boolean;
"disableHooks"?: boolean;
"disableWait"?: boolean;
"disableWaitForJobs"?: boolean;
"force"?: boolean;
"recreate"?: boolean;
"timeout"?: string;
constructor(data?: ModelData<IRollback>);
}
export type { IRollback as IComGithubFluxcdHelmControllerApiV2beta2Rollback, Rollback as ComGithubFluxcdHelmControllerApiV2beta2Rollback };