UNPKG

@kubernetes-models/flux-cd

Version:
69 lines (68 loc) 3.28 kB
import { IComGithubFluxcdHelmControllerApiV2beta1CrossNamespaceObjectReference } from "./CrossNamespaceObjectReference.js"; import { IComGithubFluxcdHelmControllerApiV2beta1HelmChartTemplateVerification } from "./HelmChartTemplateVerification.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * HelmChartTemplateSpec defines the template from which the controller will * generate a v1beta2.HelmChartSpec object. */ export interface IHelmChartTemplateSpec { /** * The name or path the Helm chart is available at in the SourceRef. */ "chart": string; "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 v1beta2.Source the chart is available at. */ "sourceRef": IComGithubFluxcdHelmControllerApiV2beta1CrossNamespaceObjectReference; /** * Alternative values file to use as the default chart values, expected to * be a relative path in the SourceRef. Deprecated in favor of ValuesFiles, * for backwards compatibility the file defined here is merged before the * ValuesFiles items. Ignored when omitted. */ "valuesFile"?: string; /** * 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"?: IComGithubFluxcdHelmControllerApiV2beta1HelmChartTemplateVerification; /** * Version semver expression, ignored for charts from v1beta2.GitRepository and * v1beta2.Bucket sources. Defaults to latest when omitted. */ "version"?: string; } /** * HelmChartTemplateSpec defines the template from which the controller will * generate a v1beta2.HelmChartSpec object. */ export declare class HelmChartTemplateSpec extends Model<IHelmChartTemplateSpec> implements IHelmChartTemplateSpec { "chart": string; "interval"?: string; "reconcileStrategy"?: "ChartVersion" | "Revision"; "sourceRef": IComGithubFluxcdHelmControllerApiV2beta1CrossNamespaceObjectReference; "valuesFile"?: string; "valuesFiles"?: Array<string>; "verify"?: IComGithubFluxcdHelmControllerApiV2beta1HelmChartTemplateVerification; "version"?: string; constructor(data?: ModelData<IHelmChartTemplateSpec>); } export type { IHelmChartTemplateSpec as IComGithubFluxcdHelmControllerApiV2beta1HelmChartTemplateSpec, HelmChartTemplateSpec as ComGithubFluxcdHelmControllerApiV2beta1HelmChartTemplateSpec };