@kubernetes-models/flux-cd
Version:
37 lines (36 loc) • 1.56 kB
TypeScript
import { IComGithubFluxcdPkgApisMetaLocalObjectReference } from "../../github.com/fluxcd/pkg/apis/meta/LocalObjectReference.js";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* Decryption defines how decryption is handled for Kubernetes manifests.
*/
export interface IDecryption {
/**
* Provider is the name of the decryption engine.
*/
"provider": "sops";
/**
* The secret name containing the private OpenPGP keys used for decryption.
* A static credential for a cloud provider defined inside the Secret
* takes priority to secret-less authentication with the ServiceAccountName
* field.
*/
"secretRef"?: IComGithubFluxcdPkgApisMetaLocalObjectReference;
/**
* ServiceAccountName is the name of the service account used to
* authenticate with KMS services from cloud providers. If a
* static credential for a given cloud provider is defined
* inside the Secret referenced by SecretRef, that static
* credential takes priority.
*/
"serviceAccountName"?: string;
}
/**
* Decryption defines how decryption is handled for Kubernetes manifests.
*/
export declare class Decryption extends Model<IDecryption> implements IDecryption {
"provider": "sops";
"secretRef"?: IComGithubFluxcdPkgApisMetaLocalObjectReference;
"serviceAccountName"?: string;
constructor(data?: ModelData<IDecryption>);
}
export type { IDecryption as IComGithubFluxcdKustomizeControllerApiV1Decryption, Decryption as ComGithubFluxcdKustomizeControllerApiV1Decryption };