Page MenuHomePhabricator

null shown in the user profile dropdown in datahub
Closed, ResolvedPublic

Assigned To
Authored By
odimitrijevic
Jan 25 2023, 11:19 PM
Referenced Files
F37135939: image.png
Jul 11 2023, 1:40 PM
F36511843: image.png
Jan 26 2023, 2:50 PM
Restricted File
Jan 26 2023, 12:21 AM
Unknown Object (File)
Jan 25 2023, 11:19 PM

Description

The current datahub version should be shown instead of null. It seems that it is not being correctly picked up from the following setting:

  • name: DATAHUB_APP_VERSION value: "{{ .Chart.AppVersion }}"

image.png (244×539 px, 13 KB)

Related Objects

Event Timeline

BTullis subscribed.

I've had a quick look at this.

We certainly define that variable in the frontend config here:
https://github.com/wikimedia/operations-deployment-charts/blob/master/charts/datahub/charts/datahub-frontend/templates/_containers.tpl#L83-L84

I can see that it is getting populated with the correct value and made available as an environment variable to the datahu-frontend container too:

btullis@deploy1002:~$ kubectl describe pods datahub-frontend-main-775c48cb46-sbctj |grep DATAHUB_APP_VERSION
      DATAHUB_APP_VERSION:           0.9.0

But it's definitely not appearing in the drop-down list.

I will look into other potential solutions to this problem.