Skip to content

Commit

Permalink
Update Ingress spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Jul 21, 2017
1 parent 36274a5 commit c39504a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions api/ingress.go
Expand Up @@ -135,6 +135,15 @@ type IngressRuleValue struct {
// to match against everything after the last '/' and before the first '?'
// or '#'.
type HTTPIngressRuleValue struct {
// port to listen http(s) connections.
Port intstr.IntOrString `json:"port,omitempty"`

// Set noSSL = true to force plain text. Else, auto detect like present
NoSSL bool `json:"noSSL,omitempty"`

// Specifies the node port of the referenced service.
NodePort intstr.IntOrString `json:"nodePort,omitempty"`

// A collection of paths that map requests to backends.
Paths []HTTPIngressPath `json:"paths"`
// TODO: Consider adding fields for Ingress-type specific global
Expand All @@ -145,6 +154,9 @@ type TCPIngressRuleValue struct {
// port to listen tcp connections.
Port intstr.IntOrString `json:"port,omitempty"`

// Specifies the node port of the referenced service.
NodePort intstr.IntOrString `json:"nodePort,omitempty"`

// SSl cert used to terminate ssl in this port
SecretName string `json:"secretName,omitempty"`

Expand Down

0 comments on commit c39504a

Please sign in to comment.