Skip to content

Commit

Permalink
Add ingress domain
Browse files Browse the repository at this point in the history
* config/v1/types_ingress.go (IngressSpec): Add Domain field.

Related to NE-100.

https://jira.coreos.com/browse/NE-100
  • Loading branch information
Miciah committed Nov 26, 2018
1 parent ffac7ee commit 2ba7723
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/v1/types_ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ type Ingress struct {
}

type IngressSpec struct {
// default suffix. It goes here or it gets removed from server
// domain is used to generate a default host name for a route when the
// route's host name is empty. The generated host name will follow this
// pattern: "<route-name>.<route-namespace>.<domain>".
Domain string `json:"domain"`
}

type IngressStatus struct {
Expand Down

0 comments on commit 2ba7723

Please sign in to comment.