@kubernetes-models/flux-cd
Version:
34 lines (33 loc) • 1.4 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* InstallRemediation holds the configuration for Helm install remediation.
*/
export interface IInstallRemediation {
/**
* IgnoreTestFailures tells the controller to skip remediation when the Helm
* tests are run after an install action but fail. Defaults to
* 'Test.IgnoreFailures'.
*/
"ignoreTestFailures"?: boolean;
/**
* RemediateLastFailure tells the controller to remediate the last failure, when
* no retries remain. Defaults to 'false'.
*/
"remediateLastFailure"?: boolean;
/**
* Retries is the number of retries that should be attempted on failures before
* bailing. Remediation, using an uninstall, is performed between each attempt.
* Defaults to '0', a negative integer equals to unlimited retries.
*/
"retries"?: number;
}
/**
* InstallRemediation holds the configuration for Helm install remediation.
*/
export declare class InstallRemediation extends Model<IInstallRemediation> implements IInstallRemediation {
"ignoreTestFailures"?: boolean;
"remediateLastFailure"?: boolean;
"retries"?: number;
constructor(data?: ModelData<IInstallRemediation>);
}
export type { IInstallRemediation as IComGithubFluxcdHelmControllerApiV2InstallRemediation, InstallRemediation as ComGithubFluxcdHelmControllerApiV2InstallRemediation };