@kubernetes-models/argo-cd
Version:
94 lines (93 loc) • 4.15 kB
TypeScript
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HelmFileParameter } from "./HelmFileParameter.js";
import { IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HelmParameter } from "./HelmParameter.js";
import { IIoK8sApimachineryPkgRuntimeRawExtension } from "@kubernetes-models/apimachinery/runtime/RawExtension";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* ApplicationSourceHelm holds helm specific options
*/
export interface IApplicationSourceHelm {
/**
* APIVersions specifies the Kubernetes resource API versions to pass to Helm when templating manifests. By default,
* Argo CD uses the API versions of the target cluster. The format is [group/]version/kind.
*/
"apiVersions"?: Array<string>;
/**
* FileParameters are file parameters to the helm template
*/
"fileParameters"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HelmFileParameter>;
/**
* IgnoreMissingValueFiles prevents helm template from failing when valueFiles do not exist locally by not appending them to helm template --values
*/
"ignoreMissingValueFiles"?: boolean;
/**
* KubeVersion specifies the Kubernetes API version to pass to Helm when templating manifests. By default, Argo CD
* uses the Kubernetes version of the target cluster.
*/
"kubeVersion"?: string;
/**
* Namespace is an optional namespace to template with. If left empty, defaults to the app's destination namespace.
*/
"namespace"?: string;
/**
* Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation
*/
"parameters"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HelmParameter>;
/**
* PassCredentials pass credentials to all domains (Helm's --pass-credentials)
*/
"passCredentials"?: boolean;
/**
* ReleaseName is the Helm release name to use. If omitted it will use the application name
*/
"releaseName"?: string;
/**
* SkipCrds skips custom resource definition installation step (Helm's --skip-crds)
*/
"skipCrds"?: boolean;
/**
* SkipSchemaValidation skips JSON schema validation (Helm's --skip-schema-validation)
*/
"skipSchemaValidation"?: boolean;
/**
* SkipTests skips test manifest installation step (Helm's --skip-tests).
*/
"skipTests"?: boolean;
/**
* ValuesFiles is a list of Helm value files to use when generating a template
*/
"valueFiles"?: Array<string>;
/**
* Values specifies Helm values to be passed to helm template, typically defined as a block. ValuesObject takes precedence over Values, so use one or the other.
*/
"values"?: string;
/**
* ValuesObject specifies Helm values to be passed to helm template, defined as a map. This takes precedence over Values.
*/
"valuesObject"?: IIoK8sApimachineryPkgRuntimeRawExtension;
/**
* Version is the Helm version to use for templating ("3")
*/
"version"?: string;
}
/**
* ApplicationSourceHelm holds helm specific options
*/
export declare class ApplicationSourceHelm extends Model<IApplicationSourceHelm> implements IApplicationSourceHelm {
"apiVersions"?: Array<string>;
"fileParameters"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HelmFileParameter>;
"ignoreMissingValueFiles"?: boolean;
"kubeVersion"?: string;
"namespace"?: string;
"parameters"?: Array<IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1HelmParameter>;
"passCredentials"?: boolean;
"releaseName"?: string;
"skipCrds"?: boolean;
"skipSchemaValidation"?: boolean;
"skipTests"?: boolean;
"valueFiles"?: Array<string>;
"values"?: string;
"valuesObject"?: IIoK8sApimachineryPkgRuntimeRawExtension;
"version"?: string;
constructor(data?: ModelData<IApplicationSourceHelm>);
}
export type { IApplicationSourceHelm as IComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSourceHelm, ApplicationSourceHelm as ComGithubArgoprojArgoCdV3PkgApisApplicationV1alpha1ApplicationSourceHelm };