@kubernetes-models/flux-cd
Version:
89 lines (88 loc) • 4.01 kB
TypeScript
import { IComGithubFluxcdPkgApisAclAccessFrom } from "../../github.com/fluxcd/pkg/apis/acl/AccessFrom.js";
import { IComGithubFluxcdSourceControllerApiV1beta2LocalHelmChartSourceReference } from "./LocalHelmChartSourceReference.js";
import { IComGithubFluxcdSourceControllerApiV1OCIRepositoryVerification } from "../v1/OCIRepositoryVerification.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* HelmChartSpec specifies the desired state of a Helm chart.
*/
export interface IHelmChartSpec {
/**
* AccessFrom specifies an Access Control List for allowing cross-namespace
* references to this object.
* NOTE: Not implemented, provisional as of https://github.com/fluxcd/flux2/pull/2092
*/
"accessFrom"?: IComGithubFluxcdPkgApisAclAccessFrom;
/**
* Chart is 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;
/**
* ReconcileStrategy 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";
/**
* SourceRef is the reference to the Source the chart is available at.
*/
"sourceRef": IComGithubFluxcdSourceControllerApiV1beta2LocalHelmChartSourceReference;
/**
* Suspend tells the controller to suspend the reconciliation of this
* source.
*/
"suspend"?: boolean;
/**
* ValuesFile is an 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 specified here
* is merged before the ValuesFiles items. Ignored when omitted.
*/
"valuesFile"?: string;
/**
* ValuesFiles is an 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 when using HelmRepository source with spec.type 'oci'.
* Chart dependencies, which are not bundled in the umbrella chart artifact, are not verified.
*/
"verify"?: IComGithubFluxcdSourceControllerApiV1OCIRepositoryVerification;
/**
* Version is the chart version semver expression, ignored for charts from
* GitRepository and Bucket sources. Defaults to latest when omitted.
*/
"version"?: string;
}
/**
* HelmChartSpec specifies the desired state of a Helm chart.
*/
export declare class HelmChartSpec extends Model<IHelmChartSpec> implements IHelmChartSpec {
"accessFrom"?: IComGithubFluxcdPkgApisAclAccessFrom;
"chart": string;
"ignoreMissingValuesFiles"?: boolean;
"interval": string;
"reconcileStrategy"?: "ChartVersion" | "Revision";
"sourceRef": IComGithubFluxcdSourceControllerApiV1beta2LocalHelmChartSourceReference;
"suspend"?: boolean;
"valuesFile"?: string;
"valuesFiles"?: Array<string>;
"verify"?: IComGithubFluxcdSourceControllerApiV1OCIRepositoryVerification;
"version"?: string;
constructor(data?: ModelData<IHelmChartSpec>);
}
export type { IHelmChartSpec as IComGithubFluxcdSourceControllerApiV1beta2HelmChartSpec, HelmChartSpec as ComGithubFluxcdSourceControllerApiV1beta2HelmChartSpec };