Skip to content

Commit

Permalink
add workaround for chatty nats-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulexus committed Feb 26, 2019
1 parent 0a38427 commit 3011cea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions template/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@ func (e *Engine) Endpoints(name, namespace string) (ep *v1.Endpoints, err error)
e.failure(err)
return
}

// HACK: workaround for super-chatty nats-operator, which updates its annotation every second
if watched.GetMetadata().GetName() == "nats-operator" {
continue
}

e.reload <- nil
}
}()
Expand Down

0 comments on commit 3011cea

Please sign in to comment.