Closed DavidResende0 closed 1 year ago
@miq-bot assign @Fryguy, @agrare
@DavidResende0 'Fryguy, agrare' is an invalid assignee, ignoring...
@miq-bot assign @Fryguy @miq-bot assign @agrare
As discussed we will remove this for now to unlock the Save button and then follow up with a more thorough fix.
Backported to petrosian
in commit 7f77b35507cdc06a3ebce8697cfb4d9e0a092e9f.
commit 7f77b35507cdc06a3ebce8697cfb4d9e0a092e9f
Author: Jason Frey <fryguy9@gmail.com>
Date: Fri Jun 9 17:14:28 2023 -0400
Merge pull request #492 from DavidResende0/remove-validation-dependecies
Removed the `auth_key` from list of Validation Dependencies in Metrics and Alerts
(cherry picked from commit 7be0a737edac7c0af5b43fdef6bfac1627826a33)
This introduced a bug where adding a new token and a metrics endpoint at the same time (basically the new provider workflow) fails validation because the metrics endpoint doesn't have access to the default authentication bearer token.
Right now, when editing the default endpoint token of a provider like Openshift, the provider form forces the user to revalidate the Metrics and Alerts endpoints as well however, this isn't apparent to the user unless they switch to that tab and check which can lead to confusion when trying to save.
Before:
After:
Note: This is a temporary fix. The goal is to later undo this change and introduce a way for the ui to alert the user that they have to revalidate the other endpoints before saving their edits.