import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config } from "../../common.k8s.elastic.co/v1/Config.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1ConfigSource } from "../../common.k8s.elastic.co/v1/ConfigSource.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig } from "../../common.k8s.elastic.co/v1/HTTPConfig.js"; import { IIoK8sApiCoreV1PodTemplateSpec } from "kubernetes-models/v1/PodTemplateSpec"; import { ModelData, Model } from "@kubernetes-models/base"; /** * PackageRegistrySpec holds the specification of an Elastic Package Registry instance. */ export interface IPackageRegistrySpec { /** * Config holds the PackageRegistry configuration. See: https://github.com/elastic/package-registry/blob/main/config.reference.yml */ "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config; /** * ConfigRef contains a reference to an existing Kubernetes Secret holding the Elastic Package Registry configuration. * Configuration settings are merged and have precedence over settings specified in `config`. */ "configRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ConfigSource; /** * Count of Elastic Package Registry instances to deploy. */ "count"?: number; /** * HTTP holds the HTTP layer configuration for Elastic Package Registry. */ "http"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig; /** * Image is the Elastic Package Registry Docker image to deploy. */ "image"?: string; /** * PodTemplate provides customisation options (labels, annotations, affinity rules, resource requests, and so on) for the Elastic Package Registry pods */ "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; /** * RevisionHistoryLimit is the number of revisions to retain to allow rollback in the underlying Deployment. */ "revisionHistoryLimit"?: number; /** * Version of Elastic Package Registry. */ "version": string; } /** * PackageRegistrySpec holds the specification of an Elastic Package Registry instance. */ export declare class PackageRegistrySpec extends Model implements IPackageRegistrySpec { "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config; "configRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ConfigSource; "count"?: number; "http"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig; "image"?: string; "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; "revisionHistoryLimit"?: number; "version": string; constructor(data?: ModelData); } export type { IPackageRegistrySpec as IComGithubElasticCloudOnK8sV3PkgApisPackageregistryV1alpha1PackageRegistrySpec, PackageRegistrySpec as ComGithubElasticCloudOnK8sV3PkgApisPackageregistryV1alpha1PackageRegistrySpec };