cdktf-crd
Version:
51 lines (50 loc) • 2.47 kB
TypeScript
import { Manifest, type ManifestConfig } from "@cdktf/provider-kubernetes/lib/manifest";
import { Construct } from "constructs";
export declare class CustomizeCoreCnrmCloudGoogleComMutatingWebhookConfigurationCustomizationV1alpha1 extends Manifest {
constructor(scope: Construct, id: string, config: CustomizeCoreCnrmCloudGoogleComMutatingWebhookConfigurationCustomizationV1alpha1Config);
}
export interface CustomizeCoreCnrmCloudGoogleComMutatingWebhookConfigurationCustomizationV1alpha1Config extends ManifestConfig {
manifest: {
apiVersion: "customize.core.cnrm.cloud.google.com/v1alpha1";
kind: "MutatingWebhookConfigurationCustomization";
metadata: {
annotations?: {
[key: string]: string;
};
labels?: {
[key: string]: string;
};
name: string;
namespace?: string;
};
/** @description WebhookConfigurationCustomizationSpec is the specification for customizing the webhooks of a config
* connector webhook configuration. */
spec: {
/** @description The list of webhooks whose configuration to be customized.
* Required */
webhooks: {
/**
* @description The name of the webhook. Do not include the `.cnrm.cloud.google.com` suffix.
* Required
* @enum {string}
*/
name: "abandon-on-uninstall" | "container-annotation-handler" | "deny-immutable-field-updates" | "deny-unknown-fields" | "generic-defaulter" | "iam-defaulter" | "iam-validation" | "management-conflict-annotation-defaulter" | "resource-validation";
/**
* Format: int32
* @description TimeoutSeconds customizes the timeout of the webhook.
* The timeout value must be between 1 and 30 seconds.
* The default timeout in Kubernetes is 10 seconds.
* Required
*/
timeoutSeconds?: number;
}[];
};
/** @description WebhookConfigurationCustomizationStatus defines the observed state of ValidatingWebhookConfigurationCustomization and
* MutatingWebhookConfigurationCustomization. */
status?: {
errors?: string[];
healthy: boolean;
phase?: string;
};
};
}