refactor(ecs): rewrite configuration system.
This commit is contained in:
parent
be718aea11
commit
c705d6f9b3
5 changed files with 642 additions and 857 deletions
|
@ -305,7 +305,7 @@ func templatesDockerTmpl() (*asset, error) {
|
|||
var _templatesEcsTmpl = []byte(`[backends]{{range $serviceName, $instances := .Services}}
|
||||
[backends.backend-{{ $serviceName }}.loadbalancer]
|
||||
method = "{{ getLoadBalancerMethod $instances}}"
|
||||
sticky = {{ getLoadBalancerSticky $instances}}
|
||||
sticky = {{ getSticky $instances}}
|
||||
{{if hasStickinessLabel $instances}}
|
||||
[backends.backend-{{ $serviceName }}.loadbalancer.stickiness]
|
||||
cookieName = "{{getStickinessCookieName $instances}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue