Roman Vynar
dbe2eb2afc
Hide consul token on UI. ( #2797 )
2017-06-01 22:14:23 +01:00
Chris Goller
42de0ae013
Use log.Logger interface for all discovery services
2017-06-01 11:25:55 -05:00
Tobias Schmidt
287ec6e6cc
Fix outdated target_group naming in error message
...
The target_groups config has been renamed to static_configs, the error
message for overflow attributes should reflect that.
2017-05-31 11:01:13 +02:00
Conor Broderick
6766123f93
Replace regex with Secret type and remarshal config to hide secrets ( #2775 )
2017-05-29 12:46:23 +01:00
Fabian Reinartz
11aa049b05
Merge branch 'release-1.6' into merge16
2017-05-11 15:00:51 +02:00
Fabian Reinartz
ddbbd2b712
Merge branch 'release-1.5' into cut162
2017-05-11 14:29:49 +02:00
Fabian Reinartz
2ff8855ae6
discovery/k8s: update client library
2017-05-11 13:53:12 +02:00
Fabian Reinartz
aaaec6431e
Merge pull request #2642 from bakins/kubernetes-namespaces
...
Allow limiting Kubernetes service discover to certain namespaces
2017-05-04 07:36:21 +02:00
Stephan Erb
0b9fca983b
Fix reload of ZooKeeper service discovery config ( #2669 )
...
Rational:
* When the config is reloaded and the provider context is canceled, we need to
exit the current ZK `TargetProvider.Run` method as a new provider will be
instantiated.
* In case `Stop` is called on the `ZookeeperTreeCache`, the update/events
channel may not be closed as it is shared by multiple caches and would
thus be double closed.
* Stopping all `zookeeperTreeCacheNode`s on teardown ensures all associated
watcher go-routines will be closed eagerly rather than implicityly on
connection close events.
2017-05-02 18:21:37 -05:00
Brian Akins
27d66628a1
Allow limiting Kubernetes service discover to certain namespaces
...
Allow namespace discovery to be more easily extended in the future by using a struct rather than just a list.
Rename fields for kubernetes namespace discovery
2017-04-27 07:41:36 -04:00
Goutham Veeramachaneni
0f48d07f95
Fix Map Race by Moving Locking closer to the Write ( #2476 )
2017-04-07 08:55:01 +02:00
Richard Kiene
ec692f6161
Add triton zone brand metadata
2017-04-06 21:35:42 +00:00
Julius Volz
525da88c35
Merge pull request #2479 from YKlausz/consul-tls
...
Adding consul capability to connect via tls
2017-03-20 11:40:18 +01:00
Robson Roberto Souza Peixoto
cc3e859d9e
Add support for multiple ports in Marathon ( #2506 )
...
- create a target for every port
- add meta labels for Marathon labels in portMappings and portDefinitions
2017-03-18 22:10:44 +02:00
yklausz
75880b594f
Adding consul capability to connect via tls
2017-03-17 22:37:18 +01:00
Tobias Schmidt
7bde44e98e
Remove testing.T usage in goroutines
...
The staticcheck warns about testing.T usage in goroutines. Moving the
t.Fatal* calls to the main thread showed immediately that this is a good
practice, as one of the test setups didn't work.
2017-03-16 23:40:46 -03:00
Tobias Schmidt
58cd39aacd
Follow golang naming conventions in discovery packages
2017-03-16 23:40:46 -03:00
Robert Neumayer
feb7670929
Add tests for consul service discovery ( #2490 )
...
* Add tests for consul service discovery
* Add license header
* Address comments
* inline variables
* check for extra error
* Fix error formatting
2017-03-15 09:33:53 +01:00
Michael Kraus
690b49e503
Fix marathon tests
2017-03-06 11:36:55 +01:00
Michael Kraus
31252cc1b5
Clarify explicit use of authorization header
2017-03-06 11:36:36 +01:00
Michael Kraus
47bdcf0f67
Allow the use of bearer_token or bearer_token_file for MarathonSD
2017-03-02 09:44:20 +01:00
James Hartig
865f28bb15
discovery: Instead of looping over conf.Search, use NameList()
2017-02-13 15:48:51 -05:00
Alex Somesan
b22eb65d0f
Cleaner separation between ServiceAccount and custom authentication in K8S SD ( #2348 )
...
* Canonical usage of cluster service-account in K8S SD
* Early validation for opt-in custom auth in K8S SD
* Fix typo in condition
2017-01-19 10:52:52 +01:00
Richard Kiene
f3d9692d09
Add Joyent Triton discovery
2017-01-17 20:34:32 +00:00
Fabian Reinartz
35da23fd82
consul: start service watch as goroutine
2016-11-27 11:01:16 +01:00
Fabian Reinartz
200bbe1bad
config: extract SD and HTTPClient configurations
2016-11-23 18:23:37 +01:00
Fabian Reinartz
d7f4f8b879
discovery: move TargetSet into discovery package
2016-11-23 09:14:44 +01:00
Fabian Reinartz
d19d1bcad3
discovery: move into top-level package
2016-11-22 12:56:33 +01:00