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
Provide default value in a specific field for trait properties in CRD #4726
Comments
It is impacting mostly the Traits completion/validation * Embed the Camel K CRDs for now. For next iteration, it would nice to: use one from Camel K CRD jar (or another upstream artifact) and then also allow possibility to load from the cluster * Requires to use Jackson Dataformat loader as Snake Yaml one is less permissive and throwing errors * since kubernetes client 6.2.0, no more need of a specific mock dependency fabric8io/kubernetes-client#3924 * No more providing default values as they not yet in CRD apache/camel-k#4726 * Some description are now a lot less precise, adapted tests and reported apache/camel-k#4727 Signed-off-by: Aurélien Pupier <apupier@redhat.com>
It is impacting mostly the Traits completion/validation * Embed the Camel K CRDs for now. For next iteration, it would nice to: use one from Camel K CRD jar (or another upstream artifact) and then also allow possibility to load from the cluster * Requires to use Jackson Dataformat loader as Snake Yaml one is less permissive and throwing errors * since kubernetes client 6.2.0, no more need of a specific mock dependency fabric8io/kubernetes-client#3924 * No more providing default values as they not yet in CRD apache/camel-k#4726 * Some description are now a lot less precise, adapted tests and reported apache/camel-k#4727 Signed-off-by: Aurélien Pupier <apupier@redhat.com>
It is impacting mostly the Traits completion/validation * Embed the Camel K CRDs for now. For next iteration, it would nice to: use one from Camel K CRD jar (or another upstream artifact) and then also allow possibility to load from the cluster * Requires to use Jackson Dataformat loader as Snake Yaml one is less permissive and throwing errors * since kubernetes client 6.2.0, no more need of a specific mock dependency fabric8io/kubernetes-client#3924 * No more providing default values as they not yet in CRD apache/camel-k#4726 * Some description are now a lot less precise, adapted tests and reported apache/camel-k#4727 Signed-off-by: Aurélien Pupier <apupier@redhat.com>
It is impacting mostly the Traits completion/validation * Embed the Camel K CRDs for now. For next iteration, it would nice to: use one from Camel K CRD jar (or another upstream artifact) and then also allow possibility to load from the cluster * Requires to use Jackson Dataformat loader as Snake Yaml one is less permissive and throwing errors * since kubernetes client 6.2.0, no more need of a specific mock dependency fabric8io/kubernetes-client#3924 * No more providing default values as they not yet in CRD apache/camel-k#4726 * Some description are now a lot less precise, adapted tests and reported apache/camel-k#4727 Signed-off-by: Aurélien Pupier <apupier@redhat.com>
It is impacting mostly the Traits completion/validation * Embed the Camel K CRDs for now. For next iteration, it would nice to: use one from Camel K CRD jar (or another upstream artifact) and then also allow possibility to load from the cluster * Requires to use Jackson Dataformat loader as Snake Yaml one is less permissive and throwing errors * since kubernetes client 6.2.0, no more need of a specific mock dependency fabric8io/kubernetes-client#3924 * No more providing default values as they not yet in CRD apache/camel-k#4726 * Some description are now a lot less precise, adapted tests and reported apache/camel-k#4727 Signed-off-by: Aurélien Pupier <apupier@redhat.com>
It is impacting mostly the Traits completion/validation * Embed the Camel K CRDs for now. For next iteration, it would nice to: use one from Camel K CRD jar (or another upstream artifact) and then also allow possibility to load from the cluster * Requires to use Jackson Dataformat loader as Snake Yaml one is less permissive and throwing errors * since kubernetes client 6.2.0, no more need of a specific mock dependency fabric8io/kubernetes-client#3924 * No more providing default values as they not yet in CRD apache/camel-k#4726 * Some description are now a lot less precise, adapted tests and reported apache/camel-k#4727 Signed-off-by: Aurélien Pupier <apupier@redhat.com>
From Camel Language Server point of view, I identified only these ones missing. But if there are other places that are missing default values, it would be better to add them too. |
I added all the default values I could find/extract. Most of the others are either given by the Kubernetes Platform implementation either conditional. |
We had to revert the change that fixed this issue. Still open. |
This issue has been automatically marked as stale due to 90 days of inactivity. |
Requirement
As a user I would like to have default value pre-filled
Problem
the default value is provided inside the description text which is not convenient to read from for tooling that want to read/display the display value more prohemitently
Proposal
No response
Open questions
No response
The text was updated successfully, but these errors were encountered: