1
0
Fork 0

feat: Add ServersTransport annotation to k8s ingress provider

This commit is contained in:
Wouter Dullaert 2021-04-20 17:19:29 +02:00 committed by Jean-Baptiste Doumenjou
parent 526f493e12
commit 456df0fc19
6 changed files with 24 additions and 5 deletions

View file

@ -41,9 +41,10 @@ type ServiceConfig struct {
// ServiceIng is the service's configuration from annotations.
type ServiceIng struct {
ServersScheme string `json:"serversScheme,omitempty"`
PassHostHeader *bool `json:"passHostHeader"`
Sticky *dynamic.Sticky `json:"sticky,omitempty" label:"allowEmpty"`
ServersScheme string `json:"serversScheme,omitempty"`
ServersTransport string `json:"serversTransport,omitempty"`
PassHostHeader *bool `json:"passHostHeader"`
Sticky *dynamic.Sticky `json:"sticky,omitempty" label:"allowEmpty"`
}
// SetDefaults sets the default values.