import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1SecretRef } from "./SecretRef.js"; import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1SelfSignedCertificate } from "./SelfSignedCertificate.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * TLSOptions holds TLS configuration options. */ export interface ITLSOptions { /** * Certificate is a reference to a Kubernetes secret that contains the certificate and private key for enabling TLS. * The referenced secret should contain the following: * * - `ca.crt`: The certificate authority (optional). * - `tls.crt`: The certificate (or a chain). * - `tls.key`: The private key to the first certificate in the certificate chain. */ "certificate"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1SecretRef; /** * SelfSignedCertificate allows configuring the self-signed certificate generated by the operator. */ "selfSignedCertificate"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1SelfSignedCertificate; } /** * TLSOptions holds TLS configuration options. */ export declare class TLSOptions extends Model implements ITLSOptions { "certificate"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1SecretRef; "selfSignedCertificate"?: IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1SelfSignedCertificate; constructor(data?: ModelData); } export type { ITLSOptions as IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1TLSOptions, TLSOptions as ComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1TLSOptions };