@@ -20,13 +20,15 @@ spec:
2020 - jsonPath : .spec.ip
2121 name : Local IP
2222 type : string
23+ - jsonPath : .status.ip
24+ name : Remapped IP
25+ type : string
26+ - jsonPath : .status.cidr
27+ name : Remapped IP CIDR
28+ type : string
2329 - jsonPath : .metadata.creationTimestamp
2430 name : Age
2531 type : date
26- - jsonPath : .status.ipMappings
27- name : Remapped IPs
28- priority : 1
29- type : string
3032 name : v1alpha1
3133 schema :
3234 openAPIV3Schema :
5254 spec :
5355 description : IPSpec defines a local IP.
5456 properties :
55- cidr :
56- description : |-
57- CIDR is the network CIDR where the desired IP should be allocated from.
58- It is optional, if left empty the IP will be allocated in a default network CIDR (e.g., external CIDR).
59- format : cidr
60- type : string
6157 ip :
6258 description : IP is the local IP.
6359 format : ipv4
7066 Masquerade is a flag to enable masquerade for the local IP on nodes.
7167 If empty the masquerade is disabled.
7268 type : boolean
69+ networkRef :
70+ description : |-
71+ NetworkRef is the reference to the Network CR containing the CIDR where the desired IP should be allocated from.
72+ It is optional, if left empty the IP will be allocated in a default network CIDR (e.g., external CIDR).
73+ properties :
74+ apiVersion :
75+ description : API version of the referent.
76+ type : string
77+ fieldPath :
78+ description : |-
79+ If referring to a piece of an object instead of an entire object, this string
80+ should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].
81+ For example, if the object reference is to a container within a pod, this would take on a value like:
82+ "spec.containers{name}" (where "name" refers to the name of the container that triggered
83+ the event) or if no container name is specified "spec.containers[2]" (container with
84+ index 2 in this pod). This syntax is chosen only to have some well-defined way of
85+ referencing a part of an object.
86+ type : string
87+ kind :
88+ description : |-
89+ Kind of the referent.
90+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
91+ type : string
92+ name :
93+ description : |-
94+ Name of the referent.
95+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
96+ type : string
97+ namespace :
98+ description : |-
99+ Namespace of the referent.
100+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
101+ type : string
102+ resourceVersion :
103+ description : |-
104+ Specific resourceVersion to which this reference is made, if any.
105+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
106+ type : string
107+ uid :
108+ description : |-
109+ UID of the referent.
110+ More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
111+ type : string
112+ type : object
113+ x-kubernetes-map-type : atomic
73114 serviceTemplate :
74115 description : |-
75116 ServiceTemplate contains the template to create the associated service (and endpointslice) for the IP endopoint.
@@ -449,23 +490,16 @@ spec:
449490 description : CIDR is the network CIDR where the IP is allocated.
450491 format : cidr
451492 type : string
493+ x-kubernetes-validations :
494+ - message : CIDR field is immutable
495+ rule : self == oldSelf
452496 ip :
453497 description : IP is the remapped IP.
454498 format : ipv4
455499 type : string
456500 x-kubernetes-validations :
457501 - message : IP field is immutable
458502 rule : self == oldSelf
459- ipMappings :
460- additionalProperties :
461- description : IP defines a syntax validated IP.
462- format : ipv4
463- type : string
464- description : IPMappings contains the mapping of the local IP for each
465- remote cluster.
466- type : object
467- required :
468- - ip
469503 type : object
470504 required :
471505 - spec
0 commit comments