Commit Graph

335 Commits

Author SHA1 Message Date
Toon Borgers
d1757a7ecf Custom toString() so that secrets don't get logged 2018-11-22 13:23:44 +02:00
Georgios Andrianakis
601357e030 Add proxy properties for the Kubernetes client configuration (#273)
Fixes: #105
2018-11-22 12:59:28 +02:00
buildmaster
a3d430390f Going back to snapshots 2018-11-18 09:40:23 +00:00
buildmaster
a436c580b5 Update SNAPSHOT to 1.0.0.M2 2018-11-18 09:37:30 +00:00
Spencer Gibb
a277bf1d1b Moves metadata properties to an inner class.
This makes the properties grouped better (rather than in the name)
and easier to read.

properties.getMetadata().isAddLabels() vs
properties.isEnabledAdditionOfLabelsAsMetadata()
2018-11-16 11:16:22 -05:00
Peter van Zetten
86539eff2b Add K8s Service ports as optional Service Metadata (#271)
* Add flag to enable/disable addition of K8s Service ports to the
ServiceInstance metadata map (default: true).
* Add optional prefix to port keys in the metadata map
(default: "port.").

Fixes: gh-104
2018-11-16 10:34:21 -05:00
Georgios Andrianakis
af9e236787 Fix broken tests 2018-11-16 10:56:41 +02:00
Georgios Andrianakis
b39997a820 Make the source of Service Metadata configurable (#270)
Make service metadata configurable, so that users can tune it
however they see fit. Specifically we add:

* Add flag to enable/disable addition of labels to metadata
(default: true)
* Add optional prefix to label keys (default none)
* Add flag to enable/disable addition of annotation to metadata
(default: true)
* Add optional prefix to annotation keys (default none)

Fixes: gh-260
2018-11-15 15:27:52 -05:00
Spencer Gibb
0b8e1c9810 Allows disabling the SecretsPropertySourceLocator with a property.
fixes gh-125
2018-11-13 11:44:15 -05:00
Georgios Andrianakis
8be84431bc Replace RestAssured.when with Spring WebTestClient
Fixes gh-221
2018-11-13 11:14:17 -05:00
Georgios Andrianakis
cdd3a62ad8 Make reload config conditional on the presense of the actuator (#262)
* Make reload config conditional on the presense of the actuator

Fixes: #259
2018-11-11 11:56:26 -05:00
salaboy
84a9984642 Adding initial metadata for all the KubernetesConfigProperties (#264)
* initial additional properties

* add default values
2018-11-08 09:29:57 -05:00
salaboy
210338465f AsciiDoc documentation (#263)
* initial documentation refactoring

* more updates and changes

* fixing pom

* rename intro to spring-cloud-kubernetes.adoc

* creating root document

* fixing docs index
2018-11-07 11:43:20 -05:00
Ryan Dawson
b3aaf4e57a add conditional instantiation (#189)
Fixes gh-183
2018-10-30 12:36:00 -04:00
Spencer Gibb
bc6fccd867 Removes jackson versions 2018-10-17 21:42:18 -04:00
Georgios Andrianakis
90d3850177 Polish discovery client 2018-10-15 12:58:10 +03:00
Georgios Andrianakis
42999e439c Fix health related links in README
Fixes: #242
2018-10-15 12:56:21 +03:00
Georgios Andrianakis
a3dcd2f4d8 Fix issue where Kubernetes specific info did not show up in /health
Fixes #250
2018-10-15 12:47:27 +03:00
buildmaster
c2dc809469 Going back to snapshots 2018-09-21 21:38:08 +00:00
buildmaster
9b160441e3 Update SNAPSHOT to Greenwich.M1 2018-09-21 21:37:07 +00:00
Roberto Tassi
0aae2cb68c 238: Fix issue with nullable subsets in endpoints (#239) 2018-09-17 15:57:05 -04:00
Spencer Gibb
a12eef989a Merge branch 'Salaboy-salaboy-gateway-spel-filter' 2018-09-04 16:18:20 -04:00
salaboy
022c34e14d Adds filtering in DiscoveryClient based on a SpEL expression.
You can add a filter for your services by setting the property:
spring.cloud.kubernetes.discovery.filter = metadata.additionalProperties['spring-boot']
2018-09-04 16:17:58 -04:00
Georgios Andrianakis
fa75c7c695 Remove obsolete references to Zipkin (#228) 2018-09-04 11:36:04 -04:00
Ryan Baxter
6282d6d724 Fix parent version in leader election example pom 2018-09-04 11:30:34 -04:00
Gytis Trikleris
4e63f8db5e Leader election example 2018-08-31 15:20:26 +03:00
Gytis Trikleris
dce324961c Synchronize and test leader watchers 2018-08-31 15:18:20 +03:00
Gytis Trikleris
b8405f2005 Make LeaderAutoConfigurationTests pass without Kubernetes 2018-08-31 15:18:20 +03:00
Gytis Trikleris
ca80117f35 Refactor leader election to use watchers 2018-08-31 15:18:20 +03:00
Stefan Hudelmaier
c48f1d128b 223: Fix issue with nullable targetRefs and addresses in endpoints 2018-08-31 15:16:41 +03:00
Paolo
e4ab0f7b0d renaming kubernetes discovery properties parameter (#226) 2018-08-27 07:19:51 -04:00
Spencer Gibb
933474874b Removes maven plugins that are already configured in s-c-build. 2018-08-06 18:58:38 -04:00
Spencer Gibb
b281bd2d28 Updates formatting and license header 2018-08-03 13:45:46 -04:00
Spencer Gibb
b65f7fc30f Removes mailto to conform to spring patterns 2018-08-03 13:24:17 -04:00
Spencer Gibb
4d2c2edec0 Updates to 1.0.0.BUILD-SNAPSHOT
Also updates to s-c-build 2.1.0.BUILD-SNAPSHOT which is based on boot 2.1.0
2018-08-03 13:11:50 -04:00
Spencer Gibb
9576d6d4b7 Update SNAPSHOT to 0.3.0.RELEASE 2018-08-03 12:45:57 -04:00
Spencer Gibb
44370ddaf4 Fixes test conditions 2018-08-03 12:45:01 -04:00
Spencer Gibb
810af035c4 Allows label updates.
fixes gh-203
2018-08-02 17:47:07 -04:00
Spencer Gibb
07724deeee Updates to latest spring-cloud-build
moves groovy to module tests only
2018-08-02 17:31:36 -04:00
Thomas Buß
61825c80c9 Move mkdir command up one line 2018-07-18 16:11:38 +03:00
Thomas Buß
1433994783 Do not use deprecated environment variables 2018-07-18 16:11:38 +03:00
Thomas Buß
4054392ebc Fix env var interpolation 2018-07-18 16:11:38 +03:00
Thomas Buß
5bdce1be0f Use -exec in find command instead of piping 2018-07-18 16:11:38 +03:00
Thomas Buß
5055f1a231 Replace cpio with cp 2018-07-18 16:11:38 +03:00
Thomas Buß
f9da0e7119 Manually trigger rebuild to test caching 2018-07-18 16:11:38 +03:00
Thomas Buß
f3a8967422 Add caching 2018-07-18 16:11:38 +03:00
Thomas Buß
32bedc2f40 Indentation for notify block, remove old version 2018-07-18 16:11:38 +03:00
Thomas Buß
ad7fdcc579 First (incomplete) draft 2018-07-18 16:11:38 +03:00
Ryan Baxter
d39c0f3c74 Change deprecated Netflix starters. (#215) 2018-07-12 15:58:14 -04:00
Gytis Trikleris
3ad6fa14e1 Don't start LeaderInitiator when creating a bean 2018-07-06 12:58:27 +03:00