UNPKG

@kubernetes-models/flux-cd

Version:
34 lines (33 loc) 1.33 kB
import { ModelData, Model } from "@kubernetes-models/base"; /** * SubstituteReference contains a reference to a resource containing * the variables name and value. */ export interface ISubstituteReference { /** * Kind of the values referent, valid values are ('Secret', 'ConfigMap'). */ "kind": "Secret" | "ConfigMap"; /** * Name of the values referent. Should reside in the same namespace as the * referring resource. */ "name": string; /** * Optional indicates whether the referenced resource must exist, or whether to * tolerate its absence. If true and the referenced resource is absent, proceed * as if the resource was present but empty, without any variables defined. */ "optional"?: boolean; } /** * SubstituteReference contains a reference to a resource containing * the variables name and value. */ export declare class SubstituteReference extends Model<ISubstituteReference> implements ISubstituteReference { "kind": "Secret" | "ConfigMap"; "name": string; "optional"?: boolean; constructor(data?: ModelData<ISubstituteReference>); } export type { ISubstituteReference as IComGithubFluxcdKustomizeControllerApiV1beta2SubstituteReference, SubstituteReference as ComGithubFluxcdKustomizeControllerApiV1beta2SubstituteReference };