<#7477 feat(flyte-binary): add flyteconsole v2 dep...
# flyte-github
a
#7477 feat(flyte-binary): add flyteconsole v2 deployment Pull request opened by pingsutw Why are the changes needed? The v2
flyte-binary
image does not bundle a web UI — the image
Dockerfile
only builds the
flyte
manager binary — so a standalone
helm install flyte-binary
comes up with no console. Until now the v2 console (
flyteconsole-v2
) only existed in the
flyte-devbox
parent chart, which shipped its own copy. This bundles the v2 console directly into the
flyte-binary
chart so the chart can serve the UI on its own, and removes the now-duplicate console from
flyte-devbox
. What changes were proposed in this pull request?
flyte-binary
— console
•
templates/console/deployment.yaml
+
service.yaml
— new console Deployment + Service running
ghcr.io/unionai-oss/flyteconsole-v2
(port 8080, served at
/v2
), mirroring the known-good devbox console spec. •
templates/ingress/http.yaml
— serve
/v2
and
/v2/*
from the console service and the
flyteidl2.*
gRPC paths from the binary; the legacy v1 HTTP paths were removed. The SPA reaches the API same-origin (the console has no backend config of its own). •
templates/_helpers.tpl
— console name / label / selector helpers and the gRPC ingress paths. •
values.yaml
+
README.md
— a
console.*
block (image, replicas, service, resources, basePath…). The console is always deployed — there is no
console.enabled
toggle.
flyte-binary
— related chart changes
• Remove the chart's built-in admin auth: delete
admin-auth-secret.yaml
/
auth-client-secret.yaml
, drop the
auth
projected volume, and remove the auth block from
config-secret.yaml
. •
templates/deployment.yaml
— project
configuration.extraInlineConfigMapRefs
and
extraInlineSecretRefs
into the config volume, so external secrets (e.g. the runs DB password) are actually mounted. •
templates/clusterrole.yaml
— refresh the RBAC rules; remove the unused
defaults/cluster-resource-templates/namespace.yaml
.
flyte-devbox
— consolidate onto the subchart console
• Delete the devbox's own console Deployment/Service and the
sandbox.console
values. • Configure the console image via
flyte-binary.console.image
(
docker.io/unionai-oss/flyteconsole-v2:sandbox
,
pullPolicy: Never
) for offline kind use. • Point the proxy
/v2
route at the
flyte-binary-console
service. How was this patch tested? •
helm lint charts/flyte-binary
passes. •
helm template charts/flyte-binary
renders the console Deployment/Service and the ingress routes
/v2
→ console while
/flyteidl2.*
stays on
flyte-binary-http
. •
helm template charts/flyte-devbox
renders exactly one console (
flyte-binary-console
, sandbox image,
pullPolicy: Never
) with
/v2
routed to it — confirming the devbox no longer ships a duplicate. • Verified live on a local kind cluster:
GET /v2
→
HTTP 200
(console HTML) and
/v2/_next/...
assets →
200
through the ingress. Labels added Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. flyteorg/flyte