From 193e94a2eb977bb1391498bab17e8ca2c340fefe Mon Sep 17 00:00:00 2001 From: Hugo Cortes Date: Sat, 15 Feb 2020 16:14:47 -0800 Subject: [PATCH] fix(helpers): invalid reference to existingCASecret (#60) Signed-off-by: Hugo Cortes --- charts/pomerium/Chart.yaml | 2 +- charts/pomerium/templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/pomerium/Chart.yaml b/charts/pomerium/Chart.yaml index c38c8ace..c607f294 100644 --- a/charts/pomerium/Chart.yaml +++ b/charts/pomerium/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: pomerium -version: 5.0.5 +version: 5.0.6 appVersion: 0.6.2 home: http://www.pomerium.io/ icon: https://www.pomerium.io/logo-long.svg diff --git a/charts/pomerium/templates/_helpers.tpl b/charts/pomerium/templates/_helpers.tpl index c3193e07..c587ddb3 100644 --- a/charts/pomerium/templates/_helpers.tpl +++ b/charts/pomerium/templates/_helpers.tpl @@ -229,7 +229,7 @@ Adapted from : https://github.com/helm/charts/blob/master/stable/drone/templates {{- define "pomerium.caSecret.name" -}} {{if .Values.config.existingCASecret }} -{{- .Values.proxy.existingCASecret | trunc 63 | trimSuffix "-" -}} +{{- .Values.config.existingCASecret | trunc 63 | trimSuffix "-" -}} {{- /* TODO in future: Remove legacy logic */ -}} {{- else if .Values.config.existingLegacyTLSSecret -}} {{- template "pomerium.fullname" . -}}