Skip to content

Commit e38d397

Browse files
authored
fix: Keeping the IP Range field as optional
1 parent 836c5f0 commit e38d397

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crd/overlayextensionconfig/api/v1alpha1/overlayextensionconfig_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ type OverlayExtensionConfigList struct {
3434
// +kubebuilder:validation:XValidation:rule="!has(oldSelf.extensionIPRange) || has(self.extensionIPRange)", message="ExtensionIPRange is required once set"
3535
type OverlayExtensionConfigSpec struct {
3636
// ExtensionIPRange field defines a CIDR that should be able to reach routing domain ip addresses.
37+
// +kubebuilder:validation:Optional
3738
// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
3839
// +kubebuilder:validation:MaxLength=43
3940
// 43 is max length of IPv6 CIDR string

0 commit comments

Comments
 (0)