forked from rook/rook
When creating a CephObjectStore object, operator will use .Gateway.Port or .Gateway.SecurePort to create k8s Service object, if the port is invalid, the Service will not be created. Note .Gateway.Port/.Gateway.SecurePort should in 1~65535, however .Dashboard.Port is 0~65535 because 0 will use default setting for .Dashboard.Port and there is no such mechanism for .Gateway.Port/.Gateway.SecurePort Closes: https://github.com/rook/rook/issues/4574 Signed-off-by: Yu Chih <secret104278@gmail.com>