Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bitnami/mlflow] add option to disable the mlflow auth db upgrade #31458

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
8 changes: 6 additions & 2 deletions bitnami/mlflow/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Changelog

## 2.3.1 (2024-12-11)
## 2.3.2 (2025-01-17)

* [bitnami/mlflow] Release 2.3.1 ([#30994](https://github.com/bitnami/charts/pull/30994))
* [bitnami/mlflow] add option to disable the mlflow auth db upgrade ([#31458](https://github.com/bitnami/charts/pull/31458))

## <small>2.3.1 (2024-12-11)</small>

* [bitnami/mlflow] Release 2.3.1 (#30994) ([d5a8c38](https://github.com/bitnami/charts/commit/d5a8c380742726bd6268ccaa96a63bb57d1d64db)), closes [#30994](https://github.com/bitnami/charts/issues/30994)

## 2.3.0 (2024-12-10)

Expand Down
2 changes: 1 addition & 1 deletion bitnami/mlflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ sources:
- https://github.com/bitnami/charts/tree/main/bitnami/mlflow
- https://github.com/bitnami/containers/tree/main/bitnami/mlflow
- https://github.com/mlflow/mlflow
version: 2.3.1
version: 2.3.2
1 change: 1 addition & 0 deletions bitnami/mlflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ To back up and restore Helm chart deployments on Kubernetes, you need to back up
| `tracking.containerSecurityContext.capabilities.drop` | Set container's Security Context runAsNonRoot | `["ALL"]` |
| `tracking.containerSecurityContext.seccompProfile.type` | Set container's Security Context seccomp profile | `RuntimeDefault` |
| `tracking.auth.enabled` | Enable basic authentication | `true` |
| `tracking.auth.upgradeEnabled` | Run MLflow "mlflow.server.auth db upgrade" command | `true` |
| `tracking.auth.username` | Admin username | `user` |
| `tracking.auth.password` | Admin password | `""` |
| `tracking.auth.existingSecret` | Name of a secret containing the admin password | `""` |
Expand Down
2 changes: 2 additions & 0 deletions bitnami/mlflow/templates/tracking/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,11 @@ spec:
{{- if .Values.tracking.auth.enabled }}
# Render basic auth configuration
{{- include "mlflow.v0.tracking.renderAuthConfInitContainer" . | nindent 8 }}
{{- if .Values.tracking.auth.upgradeEnabled }}
# Perform upgrade of the Auth Database
{{- include "mlflow.v0.tracking.upgradeDBAuthInitContainer" . | nindent 8 }}
{{- end }}
{{- end }}
{{- if (include "mlflow.v0.s3.enabled" .) }}
# Wait for S3 backend to be ready
{{- include "mlflow.v0.waitForServiceInitContainer" (dict "target" "s3" "host" (include "mlflow.v0.s3.host" .) "port" (include "mlflow.v0.s3.port" .) "context" $) | nindent 8 }}
Expand Down
6 changes: 4 additions & 2 deletions bitnami/mlflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ tracking:
## @param tracking.replicaCount Number of mlflow replicas to deploy
##
replicaCount: 1
## @param tracking.host mlflow tracking listening host. Set to "[::]" to use ipv6.
##
## @param tracking.host mlflow tracking listening host. Set to "[::]" to use ipv6.
##
host: "0.0.0.0"
## @param tracking.containerPorts.http mlflow HTTP container port
##
Expand Down Expand Up @@ -260,6 +260,7 @@ tracking:
type: "RuntimeDefault"
## Basic authentication
## @param tracking.auth.enabled Enable basic authentication
## @param tracking.auth.upgradeEnabled Run MLflow "mlflow.server.auth db upgrade" command
## @param tracking.auth.username Admin username
## @param tracking.auth.password Admin password
## @param tracking.auth.existingSecret Name of a secret containing the admin password
Expand All @@ -269,6 +270,7 @@ tracking:
## @param tracking.auth.overridesConfigMap Name of a ConfigMap containing overrides to the basic_auth.ini file
auth:
enabled: true
upgradeEnabled: true
username: user
password: ""
existingSecret: ""
Expand Down
Loading