◐ Shell
clean mode source ↗

fix: Feature UI Server image won't start in an OpenShift cluster by tchughesiv · Pull Request #4250 · feast-dev/feast

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@tchughesiv

What this PR does / why we need it:

The python Feature UI Server image should run in an OpenShift cluster without issue.

This change allows the following code to function in a "random uid" container -

ui_dir_ref = importlib_resources.files(__spec__.parent) / "ui/build/" # type: ignore[name-defined]
with importlib_resources.as_file(ui_dir_ref) as ui_dir:
# Initialize with the projects-list.json file
with ui_dir.joinpath("projects-list.json").open(mode="w") as f:

Which issue(s) this PR fixes:

Fixes #4247

@tchughesiv tchughesiv changed the title fix ui runtime fix: Feature UI Server image won't start in an OpenShift cluster

Jun 3, 2024
Signed-off-by: Tommy Hughes <tohughes@redhat.com>

jeremyary

shuchu pushed a commit to shuchu/feast that referenced this pull request

Jun 8, 2024
…st-dev#4250)

fix ui runtime

Signed-off-by: Tommy Hughes <tohughes@redhat.com>

Labels