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

Adding templating for env vars #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ spec:
protocol: TCP
env:
- name: BACKEND_STORE_URI
value: {{ .Values.backend_store_uri }}
value: {{ tpl .Values.backend_store_uri . }}
- name: DEFAULT_ARTIFACT_ROOT
value: {{ .Values.default_artifact_root }}
value: {{ tpl .Values.default_artifact_root . }}
- name: MLFLOW_S3_ENDPOINT_URL
value: {{ .Values.minio.url }}
value: {{ tpl .Values.minio.url . }}
- name: AWS_ACCESS_KEY_ID
value: {{ .Values.minio.accesskey }}
value: {{ tpl .Values.minio.accesskey . }}
- name: AWS_SECRET_ACCESS_KEY
value: {{ .Values.minio.secretkey }}
value: {{ tpl .Values.minio.secretkey . }}
livenessProbe:
httpGet:
path: /
Expand Down