@kubernetes-models/flux-cd
Version:
68 lines (67 loc) • 2.91 kB
TypeScript
import { IComGithubFluxcdPkgApisAclAccessFrom } from "../../github.com/fluxcd/pkg/apis/acl/AccessFrom.js";
import { IComGithubFluxcdSourceControllerApiV1beta1LocalHelmChartSourceReference } from "./LocalHelmChartSourceReference.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* HelmChartSpec defines the desired state of a Helm chart.
*/
export interface IHelmChartSpec {
/**
* AccessFrom defines an Access Control List for allowing cross-namespace references to this object.
*/
"accessFrom"?: IComGithubFluxcdPkgApisAclAccessFrom;
/**
* 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 reference to the Source the chart is available at.
*/
"sourceRef": IComGithubFluxcdSourceControllerApiV1beta1LocalHelmChartSourceReference;
/**
* This flag tells the controller to suspend the reconciliation of this source.
*/
"suspend"?: boolean;
/**
* 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>;
/**
* The chart version semver expression, ignored for charts from GitRepository
* and Bucket sources. Defaults to latest when omitted.
*/
"version"?: string;
}
/**
* HelmChartSpec defines the desired state of a Helm chart.
*/
export declare class HelmChartSpec extends Model<IHelmChartSpec> implements IHelmChartSpec {
"accessFrom"?: IComGithubFluxcdPkgApisAclAccessFrom;
"chart": string;
"interval": string;
"reconcileStrategy"?: "ChartVersion" | "Revision";
"sourceRef": IComGithubFluxcdSourceControllerApiV1beta1LocalHelmChartSourceReference;
"suspend"?: boolean;
"valuesFile"?: string;
"valuesFiles"?: Array<string>;
"version"?: string;
constructor(data?: ModelData<IHelmChartSpec>);
}
export type { IHelmChartSpec as IComGithubFluxcdSourceControllerApiV1beta1HelmChartSpec, HelmChartSpec as ComGithubFluxcdSourceControllerApiV1beta1HelmChartSpec };