Merge tag 'v1.3.3'
This commit is contained in:
commit
8f845bac74
3 changed files with 15 additions and 1 deletions
|
@ -1,5 +1,12 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## [v1.3.3](https://github.com/containous/traefik/tree/v1.3.3) (2017-07-06)
|
||||||
|
[All Commits](https://github.com/containous/traefik/compare/v1.3.2...v1.3.3)
|
||||||
|
|
||||||
|
**Bug fixes:**
|
||||||
|
- **[k8s]** Undo the Secrets controller sync wait. ([#1828](https://github.com/containous/traefik/pull/1828) by [timoreimann](https://github.com/timoreimann))
|
||||||
|
- **[k8s]** Tell glog to log everything into STDERR. ([#1817](https://github.com/containous/traefik/pull/1817) by [timoreimann](https://github.com/timoreimann))
|
||||||
|
|
||||||
## [v1.3.2](https://github.com/containous/traefik/tree/v1.3.2) (2017-06-29)
|
## [v1.3.2](https://github.com/containous/traefik/tree/v1.3.2) (2017-06-29)
|
||||||
[All Commits](https://github.com/containous/traefik/compare/v1.3.1...v1.3.2)
|
[All Commits](https://github.com/containous/traefik/compare/v1.3.1...v1.3.2)
|
||||||
|
|
||||||
|
|
|
@ -263,7 +263,7 @@ func (c *clientImpl) WatchAll(labelSelector string, stopCh <-chan struct{}) (<-c
|
||||||
// fireEvent checks if all controllers have synced before firing
|
// fireEvent checks if all controllers have synced before firing
|
||||||
// Used after startup or a reconnect
|
// Used after startup or a reconnect
|
||||||
func (c *clientImpl) fireEvent(event interface{}, eventCh chan interface{}) {
|
func (c *clientImpl) fireEvent(event interface{}, eventCh chan interface{}) {
|
||||||
if !c.ingController.HasSynced() || !c.svcController.HasSynced() || !c.epController.HasSynced() || !c.secController.HasSynced() {
|
if !c.ingController.HasSynced() || !c.svcController.HasSynced() || !c.epController.HasSynced() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
eventHandlerFunc(eventCh, event)
|
eventHandlerFunc(eventCh, event)
|
||||||
|
|
|
@ -4,6 +4,7 @@ import (
|
||||||
"bufio"
|
"bufio"
|
||||||
"bytes"
|
"bytes"
|
||||||
"errors"
|
"errors"
|
||||||
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
@ -68,6 +69,12 @@ func (p *Provider) newK8sClient() (Client, error) {
|
||||||
// Provide allows the k8s provider to provide configurations to traefik
|
// Provide allows the k8s provider to provide configurations to traefik
|
||||||
// using the given configuration channel.
|
// using the given configuration channel.
|
||||||
func (p *Provider) Provide(configurationChan chan<- types.ConfigMessage, pool *safe.Pool, constraints types.Constraints) error {
|
func (p *Provider) Provide(configurationChan chan<- types.ConfigMessage, pool *safe.Pool, constraints types.Constraints) error {
|
||||||
|
// Tell glog (used by client-go) to log into STDERR. Otherwise, we risk
|
||||||
|
// certain kinds of API errors getting logged into a directory not
|
||||||
|
// available in a `FROM scratch` Docker container, causing glog to abort
|
||||||
|
// hard with an exit code > 0.
|
||||||
|
flag.Set("logtostderr", "true")
|
||||||
|
|
||||||
k8sClient, err := p.newK8sClient()
|
k8sClient, err := p.newK8sClient()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue