Skip to content

csv: Fix metrics utility fields#1783

Merged
rooftopcellist merged 1 commit intoansible:develfrom
dsavineau:fix_metrics_utility_csv
Mar 26, 2024
Merged

csv: Fix metrics utility fields#1783
rooftopcellist merged 1 commit intoansible:develfrom
dsavineau:fix_metrics_utility_csv

Conversation

@dsavineau
Copy link
Copy Markdown
Contributor

SUMMARY

The metrics utility fields were configured under the statusDescriptors section rather than specDescriptors so displaying those fields in the UI wasn't done correctly (not under the Advanced section nor using the correct field type).

This also changes the metrics_utility_configmap descriptor from urn:alm:descriptor:com.tectonic.ui:selector:core:v1:ConfigMap to urn:alm:descriptor:io.kubernetes:ConfigMap because the first value doesn't work.

Finally, all metrics utility fields are only displayed (in the Advanced section) when metrics_utility_enabled is enabled (not default).

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
ADDITIONAL INFORMATION

metrics_utility_disabled
metrics_utility_enabled

The metrics utility fields were configured under the statusDescriptors
section rather than specDescriptors so displaying those fields in the
UI wasn't done correctly (not under the Advanced section nor using the
correct field type).

This also changes the `metrics_utility_configmap` descriptor from
`urn:alm:descriptor:com.tectonic.ui:selector:core:v1:ConfigMap` to
`urn:alm:descriptor:io.kubernetes:ConfigMap` because the first value
doesn't work.

Finally, all metrics utility fields are only displayed (in the Advanced
section) when `metrics_utility_enabled` is enabled (not default).

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
@rooftopcellist
Copy link
Copy Markdown
Member

Thanks for the PR!

@rooftopcellist rooftopcellist merged commit 5e66b6a into ansible:devel Mar 26, 2024
@dsavineau dsavineau deleted the fix_metrics_utility_csv branch March 26, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants