Merge pull request #716 from jcmoraisjr/jm-secure-ca
Add secure-verify-ca-secret annotation
This commit is contained in:
commit
3dc7717a68
6 changed files with 144 additions and 17 deletions
|
|
@ -784,7 +784,10 @@ func (ic *GenericController) createUpstreams(data []interface{}) map[string]*ing
|
|||
glog.V(3).Infof("creating upstream %v", name)
|
||||
upstreams[name] = newUpstream(name)
|
||||
if !upstreams[name].Secure {
|
||||
upstreams[name].Secure = secUpstream
|
||||
upstreams[name].Secure = secUpstream.Secure
|
||||
}
|
||||
if upstreams[name].SecureCACert.Secret == "" {
|
||||
upstreams[name].SecureCACert = secUpstream.CACert
|
||||
}
|
||||
if upstreams[name].SessionAffinity.AffinityType == "" {
|
||||
upstreams[name].SessionAffinity.AffinityType = affinity.AffinityType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue