Skip to content

Commit

Permalink
support helm 3.7 (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
avimoondra authored Dec 8, 2023
1 parent 7115338 commit 3250f73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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.9
version: 6.0.10
maintainers:
- name: Retool Engineering
email: [email protected]
Expand Down
4 changes: 2 additions & 2 deletions charts/retool/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Usage: (include "retool.jobRunner.enabled" .)
*/}}
{{- define "retool.jobRunner.enabled" -}}
{{- $output := "" -}}
{{- if or (gt (int (toString (.Values.replicaCount))) 1) (eq .Values.jobRunner.enabled true) }}
{{- if or (gt (int (toString (.Values.replicaCount))) 1) (default false .Values.jobRunner.enabled) }}
{{- $output = "1" -}}
{{- end -}}
{{- $output -}}
Expand All @@ -141,7 +141,7 @@ Usage: (include "retool.workflows.enabled" .)
*/}}
{{- define "retool.workflows.enabled" -}}
{{- $output := "" -}}
{{- if or (eq .Values.workflows.enabled true) (eq .Values.workflows.enabled false) -}}
{{- if or (eq (toString (default "" .Values.workflows.enabled)) "true") (eq (toString (default "" .Values.workflows.enabled)) "false") -}}
{{- if eq .Values.workflows.enabled true -}}
{{- $output = "1" -}}
{{- else -}}
Expand Down

0 comments on commit 3250f73

Please sign in to comment.