Skip to content
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
2 changes: 1 addition & 1 deletion mlflow/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ maintainers:
- email: contact@larribas.me
name: Lorenzo Arribas
type: application
version: 1.0.1
version: 1.0.2
appVersion: 1.7.2
8 changes: 7 additions & 1 deletion mlflow/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,19 @@ spec:
{{- range $key, $value := .Values.extraArgs }}
- --{{ $key }}={{ $value }}
{{- end }}
{{- if .Values.backendStore.postgres }}
{{- if or .Values.backendStore.postgres .Values.env}}
env:
- name: SECRET_PASSWORD
valueFrom:
secretKeyRef:
name: {{ include "mlflow.postgresSecretName" . }}
key: password
{{- if .Values.env}}
{{- range $key, $value := .Values.env }}
- name: {{ $key }}
value: {{ $value }}
{{- end }}
{{- end }}
{{- end }}
ports:
- name: http
Expand Down
14 changes: 9 additions & 5 deletions mlflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ backendStore:

# backendStore.postgres -- A map with the values for (username, password, host, port and database).
postgres:
# username:
# password:
# host:
# port:
# database:
# username:
# password:
# host:
# port:
# database:

env:
AWS_ACCESS_KEY_ID: XXX
AWS_SECRET_ACCESS_KEY: XXX

# defaultArtifactRoot -- A local or remote filepath (e.g. s3://my-bucket). It is mandatory when specifying a database backend store
defaultArtifactRoot:
Expand Down