Georgios Andrianakis
ad155a60d2
Bump Fabric8 Kubernetes client to latest version ( #287 )
2018-12-12 11:17:25 -05:00
buildmaster
ab630b488a
Going back to snapshots
2018-12-11 22:00:48 +00:00
buildmaster
291929d61a
Update SNAPSHOT to 1.0.0.RC1
2018-12-11 21:57:32 +00:00
buildmaster
03f55afc10
Going back to snapshots
2018-12-11 16:46:25 +00:00
buildmaster
9c32877909
Update SNAPSHOT to 2.1.0.RC1
2018-12-11 16:43:15 +00:00
Spencer Gibb
cbdb4ebf78
Delete README.md
2018-12-10 15:50:31 -05:00
Spencer Gibb
5e2859bf6b
Updates test for new state of application context
2018-12-07 12:29:28 -05:00
Spencer Gibb
e36b703a8e
Uses KubernetesDiscoveryClient as return type so ConditionalOnMissingBean will function correctly.
...
Also removes extension from KubernetesDiscoveryProperties
See gh-282
2018-12-07 12:10:31 -05:00
Spencer Gibb
0044975f36
Updates property condition to spring.cloud.config.discovery.enabled
...
also renames class to more clearly define its purpose.
2018-12-07 12:09:08 -05:00
Spencer Gibb
dcdc7c27dc
Updates property condition to spring.cloud.config.discovery.enabled
2018-12-07 12:08:34 -05:00
Spencer Gibb
0483187eac
Polish tabs to spaces
...
see gh-283
2018-12-05 11:41:31 -05:00
Georgios Andrianakis
70d164a193
Prevent NPE if k8s Client returns null for metadata and/or annotations ( #283 )
...
Fixes #282
2018-12-05 11:40:50 -05:00
Spencer Gibb
c62e67f7ca
Moves groovy test to directory that matches package.
2018-12-05 11:40:36 -05:00
Zhanwei Wang
cd04f477ab
Enable kubernetes discovery client on bootstrap stage. ( #265 )
...
Enable kubernetes discovery client on bootstrap stage so discovery lookup of config client works
2018-12-05 11:33:05 -05:00
salaboy
c4774c3c77
Doc improvements
...
* initial fixes, links missing
* adding links and resources
* updating headers size and example section
fixes gh-268
2018-12-05 11:31:38 -05:00
Spencer Gibb
15546ff936
Adds metadata debug logging
2018-12-04 18:39:00 -05:00
Julio Cesar Villalta III
bd872515c4
update docs yaml examples, and consistently document code in asciidoc ( #280 )
2018-11-30 16:01:52 -05:00
Georgios Andrianakis
df1d4424d4
Decouple test execution from microk8s
...
Now the microk8s specific stuff is set on the command line instead of
being part of the POM.
This will help make clear what parts need to change when using a
different cluster
2018-11-26 17:36:31 +02:00
Georgios Andrianakis
29bbfedd7b
Simplify integration test run
2018-11-26 17:36:31 +02:00
Georgios Andrianakis
9f02f7e753
Add integration tests
...
These tests are small Spring Cloud Kubernetes application that are
deployed inside a Kubernetes cluster launched with microk8s.
The deployment of the applications is done with the Fabric8 Maven Plugin
2018-11-26 17:36:31 +02:00
tanshanshan
9504dc56ee
add local label for pvc ( #257 )
2018-11-26 09:36:09 -05:00
Toon Borgers
e06049dbf8
Test for toString()
2018-11-22 13:23:44 +02:00
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