File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,12 @@ type: application
1616# This is the chart version. This version number should be incremented each time you make changes
1717# to the chart and its templates, including the app version.
1818# Versions are expected to follow Semantic Versioning (https://semver.org/)
19- version : 0.5.3 -rc
19+ version : 0.5.4 -rc
2020
2121# This is the version number of the application being deployed. This version number should be
2222# incremented each time you make changes to the application. Versions are not expected to
2323# follow Semantic Versioning. They should reflect the version the application is using.
24- appVersion : 0.5.3 -rc
24+ appVersion : 0.5.4 -rc
2525
2626maintainers :
2727 - name : zhenghaoz
Original file line number Diff line number Diff line change @@ -79,10 +79,11 @@ Return Gorse API Secret
7979Return OpenAI Auth Token
8080*/} }
8181{ {- define " gorse.openaiAuthToken" -} }
82- { {- if not (empty .Values.gorse.openai.authToken) } }
82+ { {- if not (empty .Values.gorse.openai.authToken) - } }
8383 { {- .Values.gorse.openai.authToken -} }
8484{ {- else -} }
85- { {- include " getValueFromSecret" (dict " Namespace" .Release.Namespace " Name" (include " common.names.fullname" .) " Length" 32 " Key" " openai-auth-token" ) -} }
85+ { {- $secretValue := include " getValueFromSecret" (dict " Namespace" .Release.Namespace " Name" (include " common.names.fullname" .) " Length" 32 " Key" " openai-auth-token" ) -} }
86+ { {- $secretValue | default " " -} }
8687{ {- end -} }
8788{ {- end -} }
8889
You can’t perform that action at this time.
0 commit comments