Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Kubernetes native configuration management #3119

Open
wants to merge 37 commits into
base: 2021.x
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
37cafe4
add kubernetes module
DanielLiu1123 Jan 28, 2023
7a09dda
keep going, almost done
DanielLiu1123 Jan 29, 2023
233ce20
rollback docs
DanielLiu1123 Jan 29, 2023
bb5e461
not use raw type
DanielLiu1123 Jan 30, 2023
6b82542
remove dummy methods
DanielLiu1123 Jan 30, 2023
d425fa2
add comments
DanielLiu1123 Jan 30, 2023
bcd5756
rename to Preference
DanielLiu1123 Jan 30, 2023
4eda957
continue to optimize the code
DanielLiu1123 Jan 31, 2023
fb27ffd
fix checkstyle
DanielLiu1123 Jan 31, 2023
1cd0227
close context
DanielLiu1123 Jan 31, 2023
4335a72
optimize config properties
DanielLiu1123 Jan 31, 2023
632eb66
avoid property sources have same name
DanielLiu1123 Feb 1, 2023
0542d09
add kubernetes config README
DanielLiu1123 Feb 1, 2023
f00557c
make log method static
DanielLiu1123 Feb 2, 2023
2d2cb16
add example
DanielLiu1123 Feb 2, 2023
03a30bb
remove used code
DanielLiu1123 Feb 3, 2023
9706561
fix config missing when using both configmap and secret
DanielLiu1123 Feb 3, 2023
f795234
Revert "fix config missing when using both configmap and secret"
DanielLiu1123 Feb 3, 2023
36b03fd
only refresh current resource
DanielLiu1123 Feb 3, 2023
e630eda
make HasMetadataResourceEventHandler package private
DanielLiu1123 Feb 3, 2023
9b4ff99
method name lowercase
DanielLiu1123 Feb 3, 2023
92be687
docs and example done
DanielLiu1123 Feb 4, 2023
0f06277
fix docs
DanielLiu1123 Feb 4, 2023
38bbada
add zh docs
DanielLiu1123 Feb 4, 2023
4ac940d
fix docs
DanielLiu1123 Feb 4, 2023
565d545
revert rocketmq package
DanielLiu1123 Feb 4, 2023
dee3443
add comments
DanielLiu1123 Feb 4, 2023
837c41d
add exmaple docs note
DanielLiu1123 Feb 8, 2023
9043a5a
add it package for integration tests
DanielLiu1123 Feb 8, 2023
89c9ce2
rename to KubernetesConfigWatcher
DanielLiu1123 Feb 18, 2023
e5e5fbe
fix docs
DanielLiu1123 Feb 18, 2023
a554d7c
update docs
DanielLiu1123 Feb 22, 2023
c22d21e
optimize KubernetesClientHolder
DanielLiu1123 Feb 22, 2023
9e70430
change prefix to alibaba-kubernetes
DanielLiu1123 Mar 5, 2023
3ea493a
optimize getKubernetesClient method
DanielLiu1123 Mar 5, 2023
daa62f6
ci oom, ignore integration tests
DanielLiu1123 Mar 5, 2023
1059ca1
update maven 3.9.0
DanielLiu1123 Mar 5, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix checkstyle
DanielLiu1123 committed Feb 2, 2023
commit fb27ffd965fae75aa18b6b050f75a358e5e43159
Original file line number Diff line number Diff line change
@@ -180,7 +180,7 @@ private EnumerablePropertySource<?> propertySourceForConfigMap(

/**
* Fail the application start up if necessary when the resource is missing.
*
*
* <p>
* NOTE: do nothing if the application is refreshing
*
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ private ResourceKeyUtils() {

/**
* Generate a {@link ResourceKey} from {@link KubernetesConfigProperties.ConfigMap}.
*
*
* @param configMap {@link KubernetesConfigProperties.ConfigMap}
* @return {@link ResourceKey}
*/
@@ -43,7 +43,7 @@ public static ResourceKey resourceKey(

/**
* Generate a {@link ResourceKey} from {@link KubernetesConfigProperties.Secret}.
*
*
* @param secret {@link KubernetesConfigProperties.Secret}
* @return {@link ResourceKey}
*/