Skip to content

Commit

Permalink
update helm chart to support stable releases
Browse files Browse the repository at this point in the history
  • Loading branch information
avimoondra committed Mar 19, 2024
1 parent 7684ef7 commit bb30944
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/retool/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: retool
description: A Helm chart for Kubernetes
type: application
version: 6.0.17
version: 6.1.0
maintainers:
- name: Retool Engineering
email: [email protected]
Expand Down
6 changes: 6 additions & 0 deletions charts/retool/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ Usage: (include "retool.workflows.enabled" .)
{{- $output = "" -}}
{{- else if eq .Values.image.tag "latest" -}}
{{- $output = "1" -}}
{{- else if (contains .Values.image.tag "stable") -}}
{{- $output = "1" -}}
{{- else if semverCompare ">= 3.6.11" .Values.image.tag -}}
{{- $output = "1" -}}
{{- else -}}
Expand All @@ -188,6 +190,8 @@ Usage: (include "retool.codeExecutor.enabled" .)
{{- end -}}
{{- else if empty (include "retool.codeExecutor.image.tag" .) -}}
{{- $output = "" -}}
{{- else if (contains (include "retool.codeExecutor.image.tag" .) "stable") -}}
{{- $output = "1" -}}
{{- else if semverCompare ">= 3.20.15" (include "retool.codeExecutor.image.tag" .) -}}
{{- $output = "1" -}}
{{- else -}}
Expand Down Expand Up @@ -249,6 +253,8 @@ Usage: (template "retool.codeExecutor.image.tag" .)
{{- fail "If using image.tag=latest (not recommended, select an explicit tag instead) and enabling codeExecutor, explicitly set codeExecutor.image.tag" }}
{{- else if (eq .Values.image.tag "latest") -}}
{{- "" -}}
{{- else if (contains .Values.image.tag "stable") -}}
{{- .Values.image.tag -}}
{{- else if semverCompare ">= 3.20.15" .Values.image.tag -}}
{{- .Values.image.tag -}}
{{- else -}}
Expand Down

0 comments on commit bb30944

Please sign in to comment.