@kubernetes-models/flux-cd
Version:
34 lines (33 loc) • 1.37 kB
TypeScript
import { ModelData, Model } from "@kubernetes-models/base";
/**
* DependencyReference defines a Kustomization dependency on another Kustomization resource.
*/
export interface IDependencyReference {
/**
* Name of the referent.
*/
"name": string;
/**
* Namespace of the referent, defaults to the namespace of the Kustomization
* resource object that contains the reference.
*/
"namespace"?: string;
/**
* ReadyExpr is a CEL expression that can be used to assess the readiness
* of a dependency. When specified, the built-in readiness check
* is replaced by the logic defined in the CEL expression.
* To make the CEL expression additive to the built-in readiness check,
* the feature gate `AdditiveCELDependencyCheck` must be set to `true`.
*/
"readyExpr"?: string;
}
/**
* DependencyReference defines a Kustomization dependency on another Kustomization resource.
*/
export declare class DependencyReference extends Model<IDependencyReference> implements IDependencyReference {
"name": string;
"namespace"?: string;
"readyExpr"?: string;
constructor(data?: ModelData<IDependencyReference>);
}
export type { IDependencyReference as IComGithubFluxcdKustomizeControllerApiV1DependencyReference, DependencyReference as ComGithubFluxcdKustomizeControllerApiV1DependencyReference };