You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was originally going to open this issue at rancher/dashboard, but I started going through the code and realized the problem was actually here.
The summarizer for apps.catalog.cattle.io is not properly setting the namespace of deployed Helm resources. When the relationships are processed by steve, it fallbacks to the using namespace of the release, since there's nothing set on the summary.
Below are extra info that I was originally gonna report to rancher/dashboard:
Describe the bug
On the Resources tab of Installed App, the UI is ignoring the namespace of the resources deployed with Helm and instead lists the release namespace for all of them. This not only results in incorrect display, but also when clicking in a given resource it uses the wrong namespace as well, resulting in an error page.
Expected Result
The interface should list the correct namespaces for each deployed resource and the links should also point to the right namespace.
Screenshots
In this screenshot, both ecr-credentials-updater-aws-registry-kube-system and ecr-credentials-updater-aws-registry-test-namespace RoleBindings belong to kube-system and test-namespace, respectively. But the UI wrongly points to av-infra (the namespace that the chart is installed to).
When clicking on one of them, it results in an error, since its trying to get the resource from the wrong namespace:
Here's a few screenshots from the API viewer:
At spec.resources, all entries have their namespace properly set:
But the metadata.relationships used by the UI is wrong - all resources are prefixed with av-infra, instead of the correct namespaces:
The text was updated successfully, but these errors were encountered:
I was originally going to open this issue at rancher/dashboard, but I started going through the code and realized the problem was actually here.
The summarizer for apps.catalog.cattle.io is not properly setting the namespace of deployed Helm resources. When the relationships are processed by steve, it fallbacks to the using namespace of the release, since there's nothing set on the summary.
Below are extra info that I was originally gonna report to rancher/dashboard:
Describe the bug
On the Resources tab of Installed App, the UI is ignoring the namespace of the resources deployed with Helm and instead lists the release namespace for all of them. This not only results in incorrect display, but also when clicking in a given resource it uses the wrong namespace as well, resulting in an error page.
Expected Result
The interface should list the correct namespaces for each deployed resource and the links should also point to the right namespace.
Screenshots
In this screenshot, both ecr-credentials-updater-aws-registry-kube-system and ecr-credentials-updater-aws-registry-test-namespace RoleBindings belong to kube-system and test-namespace, respectively. But the UI wrongly points to av-infra (the namespace that the chart is installed to).
When clicking on one of them, it results in an error, since its trying to get the resource from the wrong namespace:
Here's a few screenshots from the API viewer:
At spec.resources, all entries have their namespace properly set:
But the metadata.relationships used by the UI is wrong - all resources are prefixed with av-infra, instead of the correct namespaces:
The text was updated successfully, but these errors were encountered: