cdktf-crd
Version:
59 lines (58 loc) • 2.69 kB
TypeScript
import { Manifest, type ManifestConfig } from "@cdktf/provider-kubernetes/lib/manifest";
import { Construct } from "constructs";
export declare class KubernetesCiliumEndpointSliceV2alpha1Manifest extends Manifest {
constructor(scope: Construct, id: string, config: KubernetesCiliumEndpointSliceV2alpha1ManifestConfig);
}
export interface KubernetesCiliumEndpointSliceV2alpha1ManifestConfig extends ManifestConfig {
manifest: {
apiVersion?: "cilium.io/v2alpha1";
kind?: "CiliumEndpointSlice";
metadata: {
annotations?: {
[key: string]: string;
};
labels?: {
[key: string]: string;
};
name: string;
namespace?: string;
};
/** @description Endpoints is a list of coreCEPs packed in a CiliumEndpointSlice */
endpoints: {
/** @description EncryptionSpec defines the encryption relevant configuration of a node. */
encryption?: {
/** @description Key is the index to the key to use for encryption or 0 if encryption is disabled. */
key?: number;
};
/**
* Format: int64
* @description IdentityID is the numeric identity of the endpoint
*/
id?: number;
/** @description Name indicate as CiliumEndpoint name. */
name?: string;
/** @description NamedPorts List of named Layer 4 port and protocol pairs which will be used in Network Policy specs.
* swagger:model NamedPorts */
"named-ports"?: {
/** @description Optional layer 4 port name */
name?: string;
/** @description Layer 4 port number */
port?: number;
/** @description Layer 4 protocol Enum: [TCP UDP SCTP ICMP ICMPV6 ANY] */
protocol?: string;
}[];
/** @description EndpointNetworking is the addressing information of an endpoint. */
networking?: {
/** @description IP4/6 addresses assigned to this Endpoint */
addressing: {
ipv4?: string;
ipv6?: string;
}[];
/** @description NodeIP is the IP of the node the endpoint is running on. The IP must be reachable between nodes. */
node?: string;
};
}[];
/** @description Namespace indicate as CiliumEndpointSlice namespace. All the CiliumEndpoints within the same namespace are put together in CiliumEndpointSlice. */
namespace?: string;
};
}