Skip to content

Commit

Permalink
CEML-272: Handle booleans properly (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpirogovski authored Oct 21, 2024
1 parent 47a7340 commit 2ad664e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/mlrun-ce/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: mlrun-ce
version: 0.6.4-rc19
version: 0.6.4-rc20
description: MLRun Open Source Stack
home: https://iguazio.com
icon: https://www.iguazio.com/wp-content/uploads/2019/10/Iguazio-Logo.png
Expand Down
4 changes: 2 additions & 2 deletions charts/mlrun-ce/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ Can be overriden if params are explicitly specified
{{- define "mlrun.storage.auto.mount.params" -}}
{{- if .Values.mlrun.storageAutoMountParams -}}
{{ .Values.mlrun.storageAutoMountParams }}
{{- else if eq .Values.global.infrastructure.aws.s3NonAnonymous "False" -}}
"aws_access_key=minio,aws_secret_key=minio123,endpoint_url={{ include "mlrun-ce.minio.service.url" . }}"
{{- else if not .Values.global.infrastructure.aws.s3NonAnonymous -}}
"aws_access_key={{ .Values.minio.rootUser }},aws_secret_key={{ .Values.minio.rootPassword }},endpoint_url={{ include "mlrun-ce.minio.service.url" . }}"
{{- else -}}
"non_anonymous=True"
{{- end -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data:
AWS_ACCESS_KEY_ID: {{ .Values.minio.rootUser }}
{{- end }}
MLRUN_STORAGE__AUTO_MOUNT_TYPE: s3
S3_NON_ANONYMOUS: {{ .Values.global.infrastructure.aws.s3NonAnonymous | quote | default "\"True\"" }}
S3_NON_ANONYMOUS: {{ .Values.global.infrastructure.aws.s3NonAnonymous | toString | title | quote | default "\"True\"" }}
MLRUN_CE__MODE: {{ .Values.jupyterNotebook.ce.mode | default "full" }}
MLRUN_CE__VERSION: {{ .Chart.Version }}
MLRUN_FUNCTION__SPEC__SERVICE_ACCOUNT__DEFAULT: {{ .Values.mlrun.api.functionSpecServiceAccountDefault | default "" | quote }}
Expand Down
2 changes: 1 addition & 1 deletion charts/mlrun-ce/templates/config/mlrun-env-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ kind: ConfigMap
metadata:
name: mlrun-common-env
data:
S3_NON_ANONYMOUS: {{ .Values.global.infrastructure.aws.s3NonAnonymous | quote | default "\"True\"" }}
S3_NON_ANONYMOUS: {{ .Values.global.infrastructure.aws.s3NonAnonymous | toString | title | quote | default "\"True\"" }}
MLRUN_STORAGE__AUTO_MOUNT_TYPE: s3
MLRUN_STORAGE__AUTO_MOUNT_PARAMS: {{ include "mlrun.storage.auto.mount.params" . }}
MLRUN_HTTPDB__PROJECTS__FOLLOWERS: nuclio
Expand Down

0 comments on commit 2ad664e

Please sign in to comment.