parent
27d18a63f4
commit
535e9405f7
2 changed files with 2 additions and 2 deletions
|
@ -452,7 +452,7 @@ Error: %v
|
||||||
// 2. write the custom template (the complexity depends on the implementation)
|
// 2. write the custom template (the complexity depends on the implementation)
|
||||||
// 3. write the configuration file
|
// 3. write the configuration file
|
||||||
//
|
//
|
||||||
// returning nill implies the backend will be reloaded.
|
// returning nil implies the backend will be reloaded.
|
||||||
// if an error is returned means requeue the update
|
// if an error is returned means requeue the update
|
||||||
func (n *NGINXController) OnUpdate(ingressCfg ingress.Configuration) error {
|
func (n *NGINXController) OnUpdate(ingressCfg ingress.Configuration) error {
|
||||||
cfg := n.store.GetBackendConfiguration()
|
cfg := n.store.GetBackendConfiguration()
|
||||||
|
|
|
@ -84,7 +84,7 @@ type Backend struct {
|
||||||
SSLPassthrough bool `json:"sslPassthrough"`
|
SSLPassthrough bool `json:"sslPassthrough"`
|
||||||
// Endpoints contains the list of endpoints currently running
|
// Endpoints contains the list of endpoints currently running
|
||||||
Endpoints []Endpoint `json:"endpoints,omitempty"`
|
Endpoints []Endpoint `json:"endpoints,omitempty"`
|
||||||
// StickySessionAffinitySession contains the StickyConfig object with stickness configuration
|
// StickySessionAffinitySession contains the StickyConfig object with stickyness configuration
|
||||||
SessionAffinity SessionAffinityConfig `json:"sessionAffinityConfig"`
|
SessionAffinity SessionAffinityConfig `json:"sessionAffinityConfig"`
|
||||||
// Consistent hashing by NGINX variable
|
// Consistent hashing by NGINX variable
|
||||||
UpstreamHashBy string `json:"upstream-hash-by,omitempty"`
|
UpstreamHashBy string `json:"upstream-hash-by,omitempty"`
|
||||||
|
|
Loading…
Reference in a new issue