Skip to content

Commit

Permalink
Deprecate singular Endpoint IP fields
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis authored and skitt committed Jan 23, 2025
1 parent 74b556f commit e5c545d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/apis/submariner.io/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,21 @@ type EndpointSpec struct {
// +kubebuilder:validation:MinLength=1
ClusterID string `json:"cluster_id"`
CableName string `json:"cable_name"`
// Deprecated: Get/SetHealthCheckIP() or, if necessary, HealthCheckIPs
// +optional
HealthCheckIP string `json:"healthCheckIP,omitempty"`
// +kubebuilder:validation:MaxItems:=2
// +optional
HealthCheckIPs []string `json:"healthCheckIPs,omitempty"`
Hostname string `json:"hostname"`
Subnets []string `json:"subnets"`
// Deprecated: Use Get/SetPrivateIP() or, if necessary, PrivateIPs
// +optional
PrivateIP string `json:"private_ip,omitempty"`
// +kubebuilder:validation:MaxItems:=2
// +optional
PrivateIPs []string `json:"privateIPs,omitempty"`
// Deprecated: Set/SetPublicIP() or, if necessary, PublicIPs
// +optional
PublicIP string `json:"public_ip,omitempty"`
// +kubebuilder:validation:MaxItems:=2
Expand Down

0 comments on commit e5c545d

Please sign in to comment.