cdktf-crd
Version:
61 lines (60 loc) • 2.7 kB
TypeScript
import { Construct } from "constructs";
import { Manifest, type ManifestConfig } from "@cdktn/provider-kubernetes/lib/manifest";
export declare class CiliumIoCiliumEndpointSliceV2alpha1 extends Manifest {
constructor(scope: Construct, id: string, config: CiliumIoCiliumEndpointSliceV2alpha1Config);
}
export interface CiliumIoCiliumEndpointSliceV2alpha1Config 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;
};
}