Skip to content

Commit

Permalink
🐛 (obico): Fix error when server.env is unset
Browse files Browse the repository at this point in the history
Fixes #67
  • Loading branch information
gabe565 committed Mar 9, 2023
1 parent 15bda88 commit 00a0b81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/obico/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ sources:
- https://github.com/gabe565/docker-obico
annotations:
artifacthub.io/changes: |-
- kind: added
description: Initial release
- kind: fixed
description: Fix error when `server.env` is unset
2 changes: 1 addition & 1 deletion charts/obico/templates/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ML_API_HOST: "http://{{ include "bjw-s.common.lib.chart.names.fullname" $ }}-ml-
{{- end -}}

{{- define "obico.server.hardcodedValues" -}}
{{- $env := deepCopy .Values.server.env }}
{{- $env := default dict .Values.server.env | deepCopy }}
{{- $_ := include "obico.server.redisValues" . | fromYaml | merge $env }}
{{- $_ = include "obico.server.env" . | fromYaml | merge $env }}

Expand Down

0 comments on commit 00a0b81

Please sign in to comment.