-
Task
-
Resolution: Done
-
Critical
-
None
-
None
I have a chunk of transformation code in these three scripts, designed to ensure that the names of k8s objects are not too long that OCP craps out.
componentNameShort=${componentNameShort/rhdh-plugin-catalog--/} componentNameShort=${componentNameShort/red-hat-developer-hub-/rhdh-} componentNameShort=${componentNameShort/backstage-community-plugin/bcp} componentNameShort=${componentNameShort/backstage-plugin/bsp} componentNameShort=${componentNameShort/backstage/bs} componentNameShort=${componentNameShort/plugin/plgn} componentNameShort=${componentNameShort/catalog/ctlg} componentNameShort=${componentNameShort/module/mod} componentNameShort=${componentNameShort/kubernetes/k8s} componentNameShort=${componentNameShort/bitbucket/bbckt}
- https://gitlab.cee.redhat.com/rhidp/rhdh-plugin-catalog
- build/scripts/generateKonfluxReleaseDataForPlugins.sh
- build/scripts/generatePyxisConfigForPlugins.sh
- .tekton/generatePipelineRunsForPlugins.sh
Proposed fix is to extract these rules into their own reusable script here:
https://github.com/redhat-developer/rhdh-plugin-export-utils/pull/73/files
So we can also use this logic to name catalog entities consistently:
https://github.com/redhat-developer/rhdh/pull/3271#discussion_r2274266384
- blocks
-
RHIDP-7526 migrate lifecycle/support metadata to overlay repo for all supported plugins in downstream-plugins file
-
- Closed
-