From 12c05d246fa32d737fb2ff446c1811e953237bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Fri, 5 Apr 2024 09:27:36 +0300 Subject: [PATCH] Fixing end templates for backend.. --- charts/apps/piped/Chart.yaml | 2 +- charts/apps/piped/templates/backend/lib/_env_vars.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/apps/piped/Chart.yaml b/charts/apps/piped/Chart.yaml index 64424b3..d9f4630 100644 --- a/charts/apps/piped/Chart.yaml +++ b/charts/apps/piped/Chart.yaml @@ -10,7 +10,7 @@ sources: - https://github.com/TeamPiped/piped-proxy keywords: - streaming -version: 5.1.3 +version: 5.1.4 appVersion: latest kubeVersion: ">=1.22.0-0" maintainers: diff --git a/charts/apps/piped/templates/backend/lib/_env_vars.tpl b/charts/apps/piped/templates/backend/lib/_env_vars.tpl index 80561bd..65fbad4 100644 --- a/charts/apps/piped/templates/backend/lib/_env_vars.tpl +++ b/charts/apps/piped/templates/backend/lib/_env_vars.tpl @@ -2,7 +2,7 @@ Environment variables used by containers. */}} {{- define "backend.controller.env_vars" -}} - {{- $values := merge .Values.backend.env -}} + {{- $values := .Values.backend.env | default dict -}} {{- if hasKey . "ObjectValues" -}} {{- with .ObjectValues.env -}} {{- $values = . -}}