import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config } from "../../common.k8s.elastic.co/v1/Config.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1ConfigSource } from "../../common.k8s.elastic.co/v1/ConfigSource.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector } from "../../common.k8s.elastic.co/v1/ObjectSelector.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"; /** * MapsSpec holds the specification of an Elastic Maps Server instance. */ export interface IMapsSpec { /** * Config holds the ElasticMapsServer configuration. See: https://www.elastic.co/guide/en/kibana/current/maps-connect-to-ems.html#elastic-maps-server-configuration */ "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config; /** * ConfigRef contains a reference to an existing Kubernetes Secret holding the Elastic Maps Server configuration. * Configuration settings are merged and have precedence over settings specified in `config`. */ "configRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ConfigSource; /** * Count of Elastic Maps Server instances to deploy. */ "count"?: number; /** * ElasticsearchRef is a reference to an Elasticsearch cluster running in the same Kubernetes cluster. */ "elasticsearchRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector; /** * HTTP holds the HTTP layer configuration for Elastic Maps Server. */ "http"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig; /** * Image is the Elastic Maps Server Docker image to deploy. */ "image"?: string; /** * PodTemplate provides customisation options (labels, annotations, affinity rules, resource requests, and so on) for the Elastic Maps Server pods */ "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; /** * RevisionHistoryLimit is the number of revisions to retain to allow rollback in the underlying Deployment. */ "revisionHistoryLimit"?: number; /** * ServiceAccountName is used to check access from the current resource to a resource (for ex. Elasticsearch) in a different namespace. * Can only be used if ECK is enforcing RBAC on references. */ "serviceAccountName"?: string; /** * Version of Elastic Maps Server. */ "version": string; } /** * MapsSpec holds the specification of an Elastic Maps Server instance. */ export declare class MapsSpec extends Model implements IMapsSpec { "config"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1Config; "configRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ConfigSource; "count"?: number; "elasticsearchRef"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1ObjectSelector; "http"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1HTTPConfig; "image"?: string; "podTemplate"?: IIoK8sApiCoreV1PodTemplateSpec; "revisionHistoryLimit"?: number; "serviceAccountName"?: string; "version": string; constructor(data?: ModelData); } export type { IMapsSpec as IComGithubElasticCloudOnK8sV3PkgApisMapsV1alpha1MapsSpec, MapsSpec as ComGithubElasticCloudOnK8sV3PkgApisMapsV1alpha1MapsSpec };