-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
refactor: Kubernetes extension now uses quarkus.
#7339
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any config classes there? Don't you have a ton of warnings about unused properties?
The change is about the properties that are being sent pass-through to dekorate, so there is no config class for them. |
Yes, but if you have /cc @geoand |
I see. |
Yeah that's something we'll need to take care of.
…On Fri, Feb 21, 2020, 18:55 Ioannis Canellos ***@***.***> wrote:
I see.
Yeah upon closer inspection I do get those warnings.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7339?email_source=notifications&email_token=ABBMDPYKS43GXPE5BL65Q53REABOPA5CNFSM4KZGOFIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMTLN3Y#issuecomment-589739759>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBMDP4C5S6CUHIX2DD6W2TREABOPANCNFSM4KZGOFIA>
.
|
2bdd467
to
f8fdbac
Compare
@angelozerr: FYI: This pull request brings in proper quarkus config classes for all properties. |
That is absolutely great! Thanks for the hard work that you put into this! I'll have some time later on today to go over it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a bunch of small comments.
FWIW I think this work is great and is great step forward for the user friendliness of the kubernetes extension!
If you don't have time to take care of this comments yourself, please and let me know and I can fix them myself later on today so we can get this in ASAP
...ubernetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesProcessor.java
Outdated
Show resolved
Hide resolved
...ubernetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesProcessor.java
Show resolved
Hide resolved
...ubernetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesProcessor.java
Show resolved
Hide resolved
...bernetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesConfigUtil.java
Outdated
Show resolved
Hide resolved
...bernetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesConfigUtil.java
Outdated
Show resolved
Hide resolved
...netes/deployment/src/main/java/io/quarkus/kubernetes/deployment/config/KubernetesConfig.java
Outdated
Show resolved
Hide resolved
...netes/deployment/src/main/java/io/quarkus/kubernetes/deployment/config/KubernetesConfig.java
Outdated
Show resolved
Hide resolved
...rnetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/config/OpenshiftConfig.java
Outdated
Show resolved
Hide resolved
...rnetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/config/OpenshiftConfig.java
Outdated
Show resolved
Hide resolved
...rnetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/config/OpenshiftConfig.java
Outdated
Show resolved
Hide resolved
f8fdbac
to
e492c8b
Compare
...ubernetes/deployment/src/main/java/io/quarkus/kubernetes/deployment/KubernetesProcessor.java
Outdated
Show resolved
Hide resolved
When done taking care of the comments, can you please resolve them? Thanks |
e492c8b
to
6e2bf5a
Compare
The CI failure is totally unrelated, but in any case CI will run again when the next round of fixes comes in |
@geoand: There are no pending fixes. So, we may need to rebase/kick again? |
@iocanel I don't think all of the comments have been addressed. I think that you have missed the middle ones (that github probably grouped under |
Please ping me once they are addressed so I can review and merge ASAP - it would be great to have this in for |
6e2bf5a
to
2d97a42
Compare
I think that now even the middle items have been addressed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great step forward. Any improvements can definitely be made in the time between CR1 and Final
Proper config objects have been created
Thanks @iocanel for this great info. As you are using ConfigRoot it should work without developping something. But the question is to we need to continue to provide |
This pull request adds the
quarkus.
prefix to kubernetes related properties.For backwards compatibility it still supports the prefix-less properties.
The change is also applied in the docs & tests.