UNPKG

@kubernetes-models/flux-cd

Version:
27 lines (26 loc) 1.36 kB
import { IComGithubFluxcdPkgApisMetaLocalObjectReference } from "../../github.com/fluxcd/pkg/apis/meta/LocalObjectReference.js"; import { ModelData, Model } from "@kubernetes-models/base"; /** * KubeConfig references a Kubernetes secret that contains a kubeconfig file. */ export interface IKubeConfig { /** * SecretRef holds the name to a secret that contains a 'value' key with * the kubeconfig file as the value. It must be in the same namespace as * the Kustomization. * It is recommended that the kubeconfig is self-contained, and the secret * is regularly updated if credentials such as a cloud-access-token expire. * Cloud specific `cmd-path` auth helpers will not function without adding * binaries and credentials to the Pod that is responsible for reconciling * the Kustomization. */ "secretRef": IComGithubFluxcdPkgApisMetaLocalObjectReference; } /** * KubeConfig references a Kubernetes secret that contains a kubeconfig file. */ export declare class KubeConfig extends Model<IKubeConfig> implements IKubeConfig { "secretRef": IComGithubFluxcdPkgApisMetaLocalObjectReference; constructor(data?: ModelData<IKubeConfig>); } export type { IKubeConfig as IComGithubFluxcdKustomizeControllerApiV1beta1KubeConfig, KubeConfig as ComGithubFluxcdKustomizeControllerApiV1beta1KubeConfig };