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 committed Jan 22, 2025
1 parent 8c75edd commit 38a26eb
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: Use 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 PrivateIPs
// +optional
PrivateIP string `json:"private_ip,omitempty"`
// +kubebuilder:validation:MaxItems:=2
// +optional
PrivateIPs []string `json:"privateIPs,omitempty"`
// Deprecated: Use PublicIPs
// +optional
PublicIP string `json:"public_ip,omitempty"`
// +kubebuilder:validation:MaxItems:=2
Expand Down

0 comments on commit 38a26eb

Please sign in to comment.