Questo contenuto non è disponibile nella lingua selezionata.
Chapter 6. Fixed issues
This section lists issues fixed in Red Hat Developer Hub 1.5.
6.1. Fixed issues in 1.5.2 Copia collegamentoCollegamento copiato negli appunti!
6.1.1. Fixed incorrect username display in Profile drop-down Copia collegamentoCollegamento copiato negli appunti!
Resolved an issue where the Profile drop-down in the global header displayed Guest instead of the logged-in user’s name when using OpenID Connect (OIDC) authentication. The drop-down now correctly shows the user’s display name by checking spec.profile.displayName
, then metadata.title
, and falling back to the name shown on the Profile card in the Settings page if neither is available.
Additional resources
6.1.2. Fixed favicon not reflecting custom branding configuration Copia collegamentoCollegamento copiato negli appunti!
In versions 1.5.0 and 1.5.1, the app.branding.iconLogo
value in the app-config
was not applied as the browser favicon. This issue has been resolved in 1.5.2, and the configured branding icon now correctly appears as the favicon.
Additional resources
6.2. Fixed issues in 1.5.0 Copia collegamentoCollegamento copiato negli appunti!
6.2.1. Entity tab reordering now works as expected Copia collegamentoCollegamento copiato negli appunti!
You can now reorder entity tabs by specifying a priority value in the configuration. Tabs with higher priority values appear first, while default tabs can be hidden by assigning a negative priority value.
Additional resources
6.2.2. Report issue feature and oversized icon in TechDocs Copia collegamentoCollegamento copiato negli appunti!
Previously, the Report a documentation issue feature in TechDocs was not functional. Additionally, selecting text in a TechDoc displayed an oversized icon instead of the intended tooltip button.
This issue has been fixed, ensuring that users can now select content and report issues correctly using the tooltip button.
Additional resources
6.2.3. Keycloak access token lifespan and refresh performance Copia collegamentoCollegamento copiato negli appunti!
When using RHBK as an OIDC provider, the default access token lifespan was set to five minutes, causing frequent refresh token requests as the token neared expiration. This resulted in performance issues due to the frequent token refreshes.
To resolve this, you can increase the access token lifespan on the Keycloak server by adjusting the Access Token Lifespan setting under Configure
Additional resources
6.2.4. Improved OCI artifact handling and prevented unintended deletion Copia collegamentoCollegamento copiato negli appunti!
This update introduces a new pullPolicy
configuration to enhance support for floating tags in OCI artifacts. The pullPolicy
setting provides more consistent behavior across platforms handling image containers and offers two options:
-
Always
: Compares the image digest in the remote registry and downloads the artifact if it has changed, even if the plugin was previously downloaded. -
IfNotPresent
: Downloads the artifact only if it is not already present in the dynamic-plugins-root folder, without checking image digests.
The pullPolicy
setting is also applied to the NPM downloading method, though Always
will download the remote artifact without a digest check. While the existing forceDownload
option remains functional, pullPolicy
takes precedence, and forceDownload
might be deprecated in a future release.
Additionally, this update fixes an issue where OCI artifacts were unintentionally deleted during the clean up phase if only the URL was modified.
Additional resources
6.2.5. Corrected enabled status display for external plugins Copia collegamentoCollegamento copiato negli appunti!
Previously, plugins installed from external sources were incorrectly displayed with a No in the Enabled column on the Plugins page. This update fixes the UI logic to ensure that externally installed plugins now correctly appear with a Yes in the Enabled column as expected.
Additional resources
6.2.6. Dynamic plugins PVC now ephemeral by default to prevent upgrade issues Copia collegamentoCollegamento copiato negli appunti!
In Developer Hub Helm Chart version 1.4.2+, it was possible to configure the storage class and access mode for the dynamic plugins persistent volume claim (PVC) using the dynamicPlugins.cache.volumeClaimSpec
field in the Helm values file.
In version 1.5, this behavior has been reverted, making the dynamic plugins root PVC ephemeral by default. This change addresses issues encountered when upgrading the Helm Chart or running multiple replicas of Developer Hub.
You can still customize the ephemeral volume claim’s storage class and access mode using the upstream.backstage.extraVolumes
field, as shown in the following example:
Example configuration
However, ensure that all other volumes declared in the default Helm Chart are also included.
Additional resources
6.2.7. Support for multiple replicas across cluster nodes Copia collegamentoCollegamento copiato negli appunti!
Previously, the Developer Hub Helm Chart did not support running multiple replicas on different cluster nodes due to the automatic creation of a dynamic plugins root persistent volume claim (PVC). This issue has been resolved by reverting the PVC creation and switching to an ephemeral volume by default, allowing multiple replicas to function properly.
Additional resources
6.2.8. Configurable image and disable option for test-connection pod Copia collegamentoCollegamento copiato negli appunti!
In previous versions of the Developer Hub Helm Chart, the image for the test-connection
pod could not be configured, which posed challenges for air-gapped environments. The test-connection
pod is created when running helm test to validate a deployed release.
This issue has been resolved by introducing configuration options to specify the image and allowing the test-connection
pod to be disabled entirely. The following fields are now available in the Helm Chart:
Example configuration fields in Helm Chart
Additional resources
6.2.9. MODULE_NOT_FOUND error in GitLab org catalog and Notification backend plugin Copia collegamentoCollegamento copiato negli appunti!
Previously, the GitLab org catalog backend plugin and Notification backend plugin failed to load when configured, displaying a MODULE_NOT_FOUND
error. This issue has been fixed by embedding the missing dependencies within the GitLab org catalog backend dynamic plugin, ensuring proper functionality.
Additional resources
6.2.10. Monorepo detection in package-dynamic-plugins CLI command Copia collegamentoCollegamento copiato negli appunti!
The janus-idp
CLI command package-dynamic-plugins
is designed to work with both monorepos and single plugin projects. This update resolves a bug in the tool’s monorepo detection, which previously caused the tool to fail with the error TypeError: Cannot read properties of undefined (reading 'packages')
when run in a single plugin project.
Additional resources
6.2.11. Improved dependency resolution for embedded packages in CLI Copia collegamentoCollegamento copiato negli appunti!
Previously, the CLI examined the dependencies of embedded packages during the export process by calling require from the monorepo root. This could lead to incorrect dependency resolution, especially when wrapping an existing plugin.
With this update, the CLI now calls require from the embedded package’s parent directory, ensuring that the most relevant dependencies are correctly identified and used.
Additional resources
6.2.12. Improved CLI handling for dynamic plugin export Copia collegamentoCollegamento copiato negli appunti!
Previously, the CLI required each dynamic plugin project to define an export-dynamic
script for the package-dynamic-plugin
command to successfully export the plugin.
With this update, defining an export-dynamic
script is no longer necessary. The package-dynamic-plugin
command now automatically attempts to run the export-dynamic-plugin
command with default arguments, simplifying the export process.
Additional resources
6.2.13. Improved startup performance for RBAC backend plugin Copia collegamentoCollegamento copiato negli appunti!
Previously, the startup process would slow down when handling a large number of CSV entries due to roles and permission policies being added individually. In this release, roles and policies are now added in bulk, improving the startup speed of the RBAC backend plugin.
Additional resources
6.2.14. RBAC performance for large user and group counts Copia collegamentoCollegamento copiato negli appunti!
Previously, organizations with a large number of users and groups experienced slower response times due to RBAC permission evaluations. This update includes performance improvements to help mitigate those slowdowns.
Additional resources
6.2.15. Expanded support for conditional aliases Copia collegamentoCollegamento copiato negli appunti!
Previously, conditional aliases were only functional for the catalog conditional rule of IS_ENTITY_OWNER
. With this update, aliases now apply to all rules, improving flexibility and functionality.
Additional resources
6.2.16. Rolling update issue with PVCs Copia collegamentoCollegamento copiato negli appunti!
Previously, upgrading an existing Developer Hub Helm release using rolling updates was blocked due to the automatic creation of a dynamic plugins root persistent volume claim (PVC) with a hardcoded ReadWriteOnce
access mode. This prevented new replicas from being scheduled on different nodes.
This issue is now resolved by reverting the PVC creation and using an ephemeral volume by default, enabling rolling updates and allowing multiple replicas to function as expected.
Additional resources
6.2.17. Air-gapped installation script for ROSA clusters Copia collegamentoCollegamento copiato negli appunti!
Previously, the installation script for the Operator failed to run on Red Hat OpenShift Service on AWS (ROSA) clusters in air-gapped environments. This issue has now been resolved, ensuring the script functions correctly on ROSA.
Additional resources