diff --git a/api/v1alpha1/rainbondcluster_types.go b/api/v1alpha1/rainbondcluster_types.go index 50c8a53a..9df0c614 100644 --- a/api/v1alpha1/rainbondcluster_types.go +++ b/api/v1alpha1/rainbondcluster_types.go @@ -112,7 +112,7 @@ type RainbondClusterSpec struct { // +optional RainbondImageRepository string `json:"rainbondImageRepository,omitempty"` // Suffix of component default domain name - SuffixHTTPHost string `json:"suffixHTTPHost,omitempty"` + SuffixHTTPHost string `json:"suffixHTTPHost"` // Ingress IP addresses of rbd-gateway. If not specified, // the IP of the node where the rbd-gateway is located will be used. GatewayIngressIPs []string `json:"gatewayIngressIPs,omitempty"` diff --git a/api/v1alpha1/rainbondvolume_types.go b/api/v1alpha1/rainbondvolume_types.go index d0789e4b..9bc96fe4 100644 --- a/api/v1alpha1/rainbondvolume_types.go +++ b/api/v1alpha1/rainbondvolume_types.go @@ -88,7 +88,7 @@ type RainbondVolumeSpec struct { // CSIPlugin holds the image CSIPlugin *CSIPluginSource `json:"csiPlugin,omitempty"` StorageRequest *int32 `json:"storageRequest,omitempty"` - ImageRepository string `json:"imageRepository,omitempty"` + ImageRepository string `json:"imageRepository"` } // RainbondVolumeConditionType -