For this the k8sclient needs to be added to the greenhouse-management app (check greenhouse app to see how this is done). The component in greenhouse-management which shall display the org data is OrgInfo. It contains currently a temporary solution to get the org name from the URL. Remove this and instead use the k8sclient to get the org display name from the Organization resource. The commented section contains the skeleton for the remaining org metadata (description and other values that can be pulled from the org resource like number of onboarded clusters, number of users, etc.)
TODO:
[x] add k8sclient to greenhouse-mgmt app
[x] get Organization resource via k8sclient and display relevant metadata in OrgInfo component
For this the k8sclient needs to be added to the greenhouse-management app (check greenhouse app to see how this is done). The component in greenhouse-management which shall display the org data is
OrgInfo
. It contains currently a temporary solution to get the org name from the URL. Remove this and instead use the k8sclient to get the org display name from the Organization resource. The commented section contains the skeleton for the remaining org metadata (description and other values that can be pulled from the org resource like number of onboarded clusters, number of users, etc.)TODO:
OrgInfo
component