@kubernetes-models/flux-cd
Version:
67 lines (66 loc) • 3.08 kB
TypeScript
import { IComGithubFluxcdHelmControllerApiV2CrossNamespaceObjectReference } from "./CrossNamespaceObjectReference.js";
import { IComGithubFluxcdHelmControllerApiV2HelmChartTemplateVerification } from "./HelmChartTemplateVerification.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* HelmChartTemplateSpec defines the template from which the controller will
* generate a v1.HelmChartSpec object.
*/
export interface IHelmChartTemplateSpec {
/**
* The name or path the Helm chart is available at in the SourceRef.
*/
"chart": string;
/**
* IgnoreMissingValuesFiles controls whether to silently ignore missing values files rather than failing.
*/
"ignoreMissingValuesFiles"?: boolean;
"interval"?: string;
/**
* Determines what enables the creation of a new artifact. Valid values are
* ('ChartVersion', 'Revision').
* See the documentation of the values for an explanation on their behavior.
* Defaults to ChartVersion when omitted.
*/
"reconcileStrategy"?: "ChartVersion" | "Revision";
/**
* The name and namespace of the v1.Source the chart is available at.
*/
"sourceRef": IComGithubFluxcdHelmControllerApiV2CrossNamespaceObjectReference;
/**
* Alternative list of values files to use as the chart values (values.yaml
* is not included by default), expected to be a relative path in the SourceRef.
* Values files are merged in the order of this list with the last file overriding
* the first. Ignored when omitted.
*/
"valuesFiles"?: Array<string>;
/**
* Verify contains the secret name containing the trusted public keys
* used to verify the signature and specifies which provider to use to check
* whether OCI image is authentic.
* This field is only supported for OCI sources.
* Chart dependencies, which are not bundled in the umbrella chart artifact,
* are not verified.
*/
"verify"?: IComGithubFluxcdHelmControllerApiV2HelmChartTemplateVerification;
/**
* Version semver expression, ignored for charts from v1.GitRepository and
* v1beta2.Bucket sources. Defaults to latest when omitted.
*/
"version"?: string;
}
/**
* HelmChartTemplateSpec defines the template from which the controller will
* generate a v1.HelmChartSpec object.
*/
export declare class HelmChartTemplateSpec extends Model<IHelmChartTemplateSpec> implements IHelmChartTemplateSpec {
"chart": string;
"ignoreMissingValuesFiles"?: boolean;
"interval"?: string;
"reconcileStrategy"?: "ChartVersion" | "Revision";
"sourceRef": IComGithubFluxcdHelmControllerApiV2CrossNamespaceObjectReference;
"valuesFiles"?: Array<string>;
"verify"?: IComGithubFluxcdHelmControllerApiV2HelmChartTemplateVerification;
"version"?: string;
constructor(data?: ModelData<IHelmChartTemplateSpec>);
}
export type { IHelmChartTemplateSpec as IComGithubFluxcdHelmControllerApiV2HelmChartTemplateSpec, HelmChartTemplateSpec as ComGithubFluxcdHelmControllerApiV2HelmChartTemplateSpec };