-
Notifications
You must be signed in to change notification settings - Fork 141
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
feat(#1089): kubernetes client config with auth token #1091
feat(#1089): kubernetes client config with auth token #1091
Conversation
valisol
commented
Jan 9, 2024
- Allow configuration with new oauthToken
- Update Tests
- Update Documentation
the dependency version we're using is quite old.. <k8s.client.version>1.4.34</k8s.client.version>
<k8s.model.version>1.0.65</k8s.model.version> version 6 of the fabric8 client is out by now, I think. would you mind checking if the upgrade would cause big troubles? maybe we can just update the numbers without any big migrations. I am not sure if a this-old-client is even useful with "modern" kubernetes platforms, that's why I am asking. |
yes we need to update to new fabric8 client version, but unfortunately this is not an easy task as it brings lots of breaking changes in the client API. |
bac3aef
to
1288dcd
Compare
...citrus-kubernetes/src/main/resources/org/citrusframework/schema/citrus-kubernetes-config.xsd
Show resolved
Hide resolved
...main/java/org/citrusframework/kubernetes/config/annotation/KubernetesClientConfigParser.java
Outdated
Show resolved
Hide resolved
0f9392a
to
a1cb6ac
Compare
01329c0
to
1f8f18d
Compare
- Allow configuration with new oauthToken - Add restrictions to allow config only with oauthToken or username and password - Update Tests - Update Documentation
1f8f18d
to
6b3e0cf
Compare
awesome job @valisol! I've allowed myself to do some "contributor stuff" (things I wouldn't expect a first-time contributor to do), like updating all copyrights and most noteable; centralizing the rules in a Validates the given credentials based on the following rules. Returns {@code true} if and only if none of the following conditions are met:
All other combinations are valid. This makes it also compatible with the existing API, removing the need to specify an empty password. |