import { IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1KeyToPath } from "./KeyToPath.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * SecretSource defines a data source based on a Kubernetes Secret. */ export interface ISecretSource { /** * Entries define how to project each key-value pair in the secret to filesystem paths. * If not defined, all keys will be projected to similarly named paths in the filesystem. * If defined, only the specified keys will be projected to the corresponding paths. */ "entries"?: Array; /** * SecretName is the name of the secret. */ "secretName": string; } /** * SecretSource defines a data source based on a Kubernetes Secret. */ export declare class SecretSource extends Model implements ISecretSource { "entries"?: Array; "secretName": string; constructor(data?: ModelData); } export type { ISecretSource as IComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1SecretSource, SecretSource as ComGithubElasticCloudOnK8sV3PkgApisCommonV1beta1SecretSource };