Setting up default labels per Flyte domain in the Flyte core Helm chart is not natively supported as a direct configuration option in the official Helm values. The Flyte core Helm chart allows customization of labels and annotations for core components (like FlyteAdmin, FlytePropeller, etc.), but there is no built-in mechanism to assign default labels specifically at the domain level for workflow executions or namespaces via the Helm chart alone. Labels for projects were added at the FlyteAdmin level, but not for domains or as a Helm chart feature for domains specifically. You would need to manage such labels manually or extend the chart/templates to support this use case if required by your organization (
Add custom labels to projects in Flyte control plane,
flyte-core helm chart PR).
If you want to add labels to the Kubernetes namespaces created for each project-domain, you can modify the cluster resource templates or the namespace creation logic, but this is not exposed as a simple Helm values.yaml field. For component-level labels, you can set them under each component's section in the values.yaml (e.g.,
flyteadmin.labels
,
flytepropeller.labels
). For more granular or domain-specific labeling, you would need to customize the Helm templates or use post-install hooks/scripts to patch the namespaces after creation (
flyte-core helm chart PR,
Helm chart modularization discussion).
Would you like more detail on customizing Helm templates or automating namespace labeling?
Sources:
-
Add custom labels to projects in Flyte control plane
-
flyte-core helm chart PR 👍 0 button 👎 0 button 💡
Hint: Mention @runllm in the thread for followups.