Skip to content

Commit

Permalink
Merge pull request #20 from mage-ai/xiaoyou/backward-compatibility
Browse files Browse the repository at this point in the history
[xy] Bump version to 0.1.4 and make configs backward compatible.
  • Loading branch information
wangxiaoyou1993 authored Aug 28, 2023
2 parents 55e55e9 + bdf616b commit c4176ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/mageai/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.3
version: 0.1.4
18 changes: 9 additions & 9 deletions charts/mageai/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ spec:
name: {{ include "mageai.secretName" . }}
{{- end }}
env:
{{- if .Values.extraEnvs -}}
{{- toYaml .Values.extraEnvs | nindent 12 }}
{{- else if .Values.env }}
{{- if .Values.env }}
{{- toYaml .Values.env | nindent 12 }}
{{- else if .Values.extraEnvs }}
{{- toYaml .Values.extraEnvs | nindent 12 }}
{{- end }}
volumeMounts:
{{- if .Values.extraVolumeMounts -}}
{{ toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- else if .Values.volumes }}
{{- if .Values.volumes }}
- name: mage-fs
mountPath: /home/src
{{- else if .Values.extraVolumeMounts }}
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
Expand All @@ -100,8 +100,8 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if .Values.extraVolumes -}}
{{ toYaml .Values.extraVolumes | nindent 8 }}
{{- else if .Values.volumes }}
{{- if .Values.volumes }}
{{- toYaml .Values.volumes | nindent 8 }}
{{- else if .Values.extraVolumes -}}
{{ toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}

0 comments on commit c4176ad

Please sign in to comment.