Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ applications/wg-easy/release/
applications/flipt/release/
applications/flipt/chart/Chart.lock

**/.claude/settings.local.json
.claude/
CLAUDE.md
.worktrees/

# Gas Town workspace artifacts
Expand Down
15 changes: 15 additions & 0 deletions applications/mlflow/charts/mlflow/templates/license-configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{- if or .Values.license.tier .Values.license.maxUsers }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "mlflow.fullname" . }}-license
labels:
{{- include "mlflow.labels" . | nindent 4 }}
data:
{{- with .Values.license.tier }}
LICENSE_TIER: {{ . | quote }}
{{- end }}
{{- with .Values.license.maxUsers }}
LICENSE_MAX_USERS: {{ . | quote }}
{{- end }}
{{- end }}
7 changes: 7 additions & 0 deletions applications/mlflow/charts/mlflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,13 @@ mlflow:
# -- Specify whether to ignore TLS
ignoreTls: false

# -- License entitlements passed from KOTS Config via HelmChart CR values
license:
# -- License tier (e.g. "community", "team", "enterprise")
tier: ""
# -- Maximum number of users allowed by the license
maxUsers: ""

# -- GPU node scheduling configuration for ML/AI workloads
# When enabled, merges GPU-specific nodeSelector, tolerations, and resource
# limits into the mlflow deployment alongside any existing scheduling config.
Expand Down
15 changes: 15 additions & 0 deletions applications/mlflow/release/kots-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,21 @@ spec:
when: '{{repl ConfigOptionEquals "postgres_type" "external_postgres"}}'
type: text
default: postgres
# License settings (read-only, sourced from license entitlements)
- name: license_settings
title: License
description: License entitlements (read-only, set by your license)
items:
- name: license_tier
title: License Tier
type: text
value: '{{repl LicenseFieldValue "tier"}}'
readonly: true
- name: license_max_users
title: Max Users
type: text
value: '{{repl LicenseFieldValue "max_users"}}'
readonly: true
# Object Store Settings
- name: objectstore_settings
title: Object Storage
Expand Down
3 changes: 3 additions & 0 deletions applications/mlflow/release/mlflow-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ spec:
accessKeyId: repl{{ ConfigOption "embedded_s3_access_key" }}
secretAccessKey: repl{{ ConfigOption "embedded_s3_secret_key" }}
podAntiAffinityTopologyKey: "kubernetes.io/hostname"
license:
tier: repl{{ ConfigOption "license_tier" }}
maxUsers: repl{{ ConfigOption "license_max_users" }}
postgres:
auth:
password: repl{{ ConfigOption "embedded_postgres_password"}}
Expand Down
Loading