github.com/cilium/cilium@v1.16.2/pkg/k8s/apis/cilium.io/client/crds/v2/ciliumexternalworkloads.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 annotations: 6 controller-gen.kubebuilder.io/version: v0.15.0 7 creationTimestamp: null 8 name: ciliumexternalworkloads.cilium.io 9 spec: 10 group: cilium.io 11 names: 12 categories: 13 - cilium 14 kind: CiliumExternalWorkload 15 listKind: CiliumExternalWorkloadList 16 plural: ciliumexternalworkloads 17 shortNames: 18 - cew 19 singular: ciliumexternalworkload 20 scope: Cluster 21 versions: 22 - additionalPrinterColumns: 23 - jsonPath: .status.id 24 name: Cilium ID 25 type: integer 26 - jsonPath: .status.ip 27 name: IP 28 type: string 29 name: v2 30 schema: 31 openAPIV3Schema: 32 description: CiliumExternalWorkload is a Kubernetes Custom Resource that contains 33 a specification for an external workload that can join the cluster. The 34 name of the CRD is the FQDN of the external workload, and it needs to match 35 the name in the workload registration. The labels on the CRD object are 36 the labels that will be used to allocate a Cilium Identity for the external 37 workload. If 'io.kubernetes.pod.namespace' or 'io.kubernetes.pod.name' labels 38 are not explicitly specified, they will be defaulted to 'default' and <workload 39 name>, respectively. 'io.cilium.k8s.policy.cluster' will always be defined 40 as the name of the current cluster, which defaults to "default". 41 properties: 42 apiVersion: 43 description: 'APIVersion defines the versioned schema of this representation 44 of an object. Servers should convert recognized schemas to the latest 45 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 46 type: string 47 kind: 48 description: 'Kind is a string value representing the REST resource this 49 object represents. Servers may infer this from the endpoint the client 50 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 51 type: string 52 metadata: 53 type: object 54 spec: 55 description: Spec is the desired configuration of the external Cilium 56 workload. 57 properties: 58 ipv4-alloc-cidr: 59 description: IPv4AllocCIDR is the range of IPv4 addresses in the CIDR 60 format that the external workload can use to allocate IP addresses 61 for the tunnel device and the health endpoint. 62 pattern: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/([0-9]|[1-2][0-9]|3[0-2])$ 63 type: string 64 ipv6-alloc-cidr: 65 description: IPv6AllocCIDR is the range of IPv6 addresses in the CIDR 66 format that the external workload can use to allocate IP addresses 67 for the tunnel device and the health endpoint. 68 pattern: ^s*((([0-9A-Fa-f]{1,4}:){7}(:|([0-9A-Fa-f]{1,4})))|(([0-9A-Fa-f]{1,4}:){6}:([0-9A-Fa-f]{1,4})?)|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){0,1}):([0-9A-Fa-f]{1,4})?))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){0,2}):([0-9A-Fa-f]{1,4})?))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){0,3}):([0-9A-Fa-f]{1,4})?))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){0,4}):([0-9A-Fa-f]{1,4})?))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){0,5}):([0-9A-Fa-f]{1,4})?))|(:(:|((:[0-9A-Fa-f]{1,4}){1,7}))))(%.+)?s*/([0-9]|[1-9][0-9]|1[0-1][0-9]|12[0-8])$ 69 type: string 70 type: object 71 status: 72 description: Status is the most recent status of the external Cilium workload. 73 It is a read-only field. 74 properties: 75 id: 76 description: ID is the numeric identity allocated for the external 77 workload. 78 format: int64 79 type: integer 80 ip: 81 description: IP is the IP address of the workload. Empty if the workload 82 has not registered. 83 type: string 84 type: object 85 required: 86 - metadata 87 type: object 88 served: true 89 storage: true 90 subresources: 91 status: {} 92 status: 93 acceptedNames: 94 kind: "" 95 plural: "" 96 conditions: [] 97 storedVersions: []