Skip to content

feat(mlflow): add license field wiring pattern (KOTS Config to app ConfigMap) #168

@kriscoleman

Description

@kriscoleman

Parent epic: #166
Integration branch: feat/mlflow-enterprise-patterns

Wire KOTS license entitlements through Config → HelmChart CR values → application ConfigMap so the app can consume license fields like tier and max_users.

Scope

  • Add Config items to release/kots-config.yaml using {{repl LicenseFieldValue "tier"}} and {{repl LicenseFieldValue "max_users"}}
  • Map Config items into HelmChart CR values in release/mlflow-chart.yaml as values.license.*
  • Create charts/mlflow/templates/license-configmap.yaml that reads .Values.license.* and creates a ConfigMap for app consumption
  • Add license section to charts/mlflow/values.yaml with defaults

Files touched

  • applications/mlflow/release/kots-config.yaml (add license Config items)
  • applications/mlflow/release/mlflow-chart.yaml (add license values mapping)
  • applications/mlflow/charts/mlflow/templates/license-configmap.yaml (new file)
  • applications/mlflow/charts/mlflow/values.yaml (add license section)

PR target

Branch PRs to feat/mlflow-enterprise-patterns (not main).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions