UNPKG

@kubernetes-models/flux-cd

Version:
34 lines (33 loc) 1.35 kB
import { ModelData, Model } from "@kubernetes-models/base"; /** * DependencyReference defines a HelmRelease dependency on another HelmRelease resource. */ export interface IDependencyReference { /** * Name of the referent. */ "name": string; /** * Namespace of the referent, defaults to the namespace of the HelmRelease * 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 HelmRelease dependency on another HelmRelease resource. */ export declare class DependencyReference extends Model<IDependencyReference> implements IDependencyReference { "name": string; "namespace"?: string; "readyExpr"?: string; constructor(data?: ModelData<IDependencyReference>); } export type { IDependencyReference as IComGithubFluxcdHelmControllerApiV2DependencyReference, DependencyReference as ComGithubFluxcdHelmControllerApiV2DependencyReference };