File tree Expand file tree Collapse file tree 8 files changed +14
-8
lines changed
Expand file tree Collapse file tree 8 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : retool
33description : A Helm chart for Kubernetes
44type : application
5- version : 6.3.3
5+ version : 6.3.4
66maintainers :
77 - name : Retool Engineering
88 email : engineering+helm@retool.com
Original file line number Diff line number Diff line change @@ -356,5 +356,11 @@ Usage: (template "retool.codeExecutor.image.tag" .)
356356Checks whether or not ExternalSecret definitions are enabled and can potentially clobber secrets or explicitly allow additional direct secret refs.
357357*/ }}
358358{{- define " shouldIncludeConfigSecretsEnvVars" -}}
359- {{- or (not (or (.Values.externalSecrets.enabled ) (.Values.externalSecrets.externalSecretsOperator.enabled ))) .Values.includeConfigSecrets -}}
359+ {{- $output := " " -}}
360+ {{- if or (not (or (.Values.externalSecrets.enabled ) (.Values.externalSecrets.externalSecretsOperator.enabled ))) .Values.externalSecrets.includeConfigSecrets -}}
361+ {{- $output = " 1" -}}
362+ {{- else -}}
363+ {{- $output = " " -}}
364+ {{- end -}}
365+ {{- $output -}}
360366{{- end -}}
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ spec:
153153
154154 {{- include "retool.telemetry.includeEnvVars" . | nindent 10 }}
155155
156- {{- if ( include "shouldIncludeConfigSecretsEnvVars" .) }}
156+ {{- if include "shouldIncludeConfigSecretsEnvVars" . }}
157157 - name : LICENSE_KEY
158158 valueFrom :
159159 secretKeyRef :
Original file line number Diff line number Diff line change 9191
9292 {{- include "retool.telemetry.includeEnvVars" . | nindent 10 }}
9393
94- {{- if ( include "shouldIncludeConfigSecretsEnvVars" .) }}
94+ {{- if include "shouldIncludeConfigSecretsEnvVars" . }}
9595 - name : LICENSE_KEY
9696 valueFrom :
9797 secretKeyRef :
Original file line number Diff line number Diff line change 5252 value : " /host/proc"
5353 - name : SYSFS_ROOT
5454 value : " /host/sys"
55- {{- if ( include "shouldIncludeConfigSecretsEnvVars" .) }}
55+ {{- if include "shouldIncludeConfigSecretsEnvVars" . }}
5656 - name : LICENSE_KEY
5757 valueFrom :
5858 secretKeyRef :
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ spec:
141141 - name : CODE_EXECUTOR_INGRESS_DOMAIN
142142 value : http://{{ template "retool.codeExecutor.name" . }}
143143 {{- end }}
144- {{- if ( include "shouldIncludeConfigSecretsEnvVars" .) }}
144+ {{- if include "shouldIncludeConfigSecretsEnvVars" . }}
145145 - name : LICENSE_KEY
146146 valueFrom :
147147 secretKeyRef :
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ spec:
150150 - name : OTEL_EXPORTER_OTLP_ENDPOINT
151151 value : " http://$(HOST_IP):4317"
152152 {{- end }}
153- {{- if ( include "shouldIncludeConfigSecretsEnvVars" .) }}
153+ {{- if include "shouldIncludeConfigSecretsEnvVars" . }}
154154 - name : LICENSE_KEY
155155 valueFrom :
156156 secretKeyRef :
Original file line number Diff line number Diff line change 1- {{- if ( include "shouldIncludeConfigSecretsEnvVars" .) }}
1+ {{- if include "shouldIncludeConfigSecretsEnvVars" . }}
22apiVersion : v1
33kind : Secret
44metadata :
You can’t perform that action at this time.
0 commit comments