mirror of
https://github.com/rancher/types.git
synced 2025-08-31 12:48:45 +00:00
Add fields Hostname and Path to PublicEndpoint
Related issue https://github.com/rancher/rancher/issues/12174 Because we want to populate endpoint for ingress, we will need `Hostname` and `Path` in endpoint represent ingress rule.
This commit is contained in:
@@ -94,6 +94,9 @@ type PublicEndpoint struct {
|
||||
// for host port
|
||||
PodName string `json:"podName,omitempty" norman:"type=reference[pod],nocreate,noupdate"`
|
||||
//serviceName and podName are mutually exclusive
|
||||
Hostname string `json:"hostname,omitempty" norman:"nocreate,noupdate"`
|
||||
Path string `json:"path,omitempty" norman:"nocreate,noupdate"`
|
||||
// hostname and part is for global load balancer
|
||||
}
|
||||
|
||||
type Workload struct {
|
||||
|
Reference in New Issue
Block a user