cdktf-crd
Version:
71 lines (70 loc) • 3.25 kB
TypeScript
import { Construct } from "constructs";
import { Manifest, type ManifestConfig } from "@cdktn/provider-kubernetes/lib/manifest";
export declare class CustomizeCoreCnrmCloudGoogleComControllerResourceV1alpha1 extends Manifest {
constructor(scope: Construct, id: string, config: CustomizeCoreCnrmCloudGoogleComControllerResourceV1alpha1Config);
}
export interface CustomizeCoreCnrmCloudGoogleComControllerResourceV1alpha1Config extends ManifestConfig {
manifest: {
apiVersion: "customize.core.cnrm.cloud.google.com/v1alpha1";
kind: "ControllerResource";
metadata: {
annotations?: {
[key: string]: string;
};
labels?: {
[key: string]: string;
};
name: string;
namespace?: string;
};
/**
* @description ControllerResourceSpec is the specification of the resource customization for containers of
* a config connector controller.
*/
spec: {
/** @description The list of containers whose resource requirements to be customized. */
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;
};
};
}[];
/**
* Format: int64
* @description The number of desired replicas of the config connector controller.
* This field takes effect only if the controller name is "cnrm-webhook-manager".
*/
replicas?: number;
} | unknown | unknown;
/** @description ControllerResourceStatus defines the observed state of ControllerResource. */
status?: {
errors?: string[];
healthy: boolean;
phase?: string;
};
};
}