UNPKG

cdktf-crd

Version:
68 lines (67 loc) 3.08 kB
import { Construct } from "constructs"; import { Manifest, type ManifestConfig } from "@cdktn/provider-kubernetes/lib/manifest"; export declare class CustomizeCoreCnrmCloudGoogleComNamespacedControllerResourceV1beta1 extends Manifest { constructor(scope: Construct, id: string, config: CustomizeCoreCnrmCloudGoogleComNamespacedControllerResourceV1beta1Config); } export interface CustomizeCoreCnrmCloudGoogleComNamespacedControllerResourceV1beta1Config extends ManifestConfig { manifest: { apiVersion: "customize.core.cnrm.cloud.google.com/v1beta1"; kind: "NamespacedControllerResource"; metadata: { annotations?: { [key: string]: string; }; labels?: { [key: string]: string; }; name: string; namespace?: string; }; /** * @description NamespacedControllerResourceSpec is the specification of the resource customization for containers of * a namespaced config connector controller. */ spec: { /** * @description The list of containers whose resource requirements to be customized. * Required */ containers: { /** * @description The name of the container whose resource requirements will be customized. * Required * @enum {string} */ name: "deletiondefender" | "manager" | "prom-to-sd" | "recorder" | "unmanageddetector" | "webhook"; /** * @description Resources specifies the resource customization of this container. * Required */ resources: { /** * @description Limits describes the maximum amount of compute resources allowed. * More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ */ limits?: { [key: string]: number | string; }; /** * @description Requests describes the minimum amount of compute resources required. * If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, * otherwise to an implementation-defined value. Requests cannot exceed Limits. * More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ */ requests?: { [key: string]: number | string; }; }; }[]; }; /** @description NamespacedControllerResourceStatus defines the observed state of NamespacedControllerResource. */ status?: { errors?: string[]; healthy: boolean; phase?: string; }; }; }