From 88fe146fa1336db528f9ea1519207c8973cc7392 Mon Sep 17 00:00:00 2001 From: benjamin kagia Date: Thu, 3 Oct 2024 13:12:47 +0200 Subject: [PATCH] fix: secret warning being shown (#269) We should only show the warning when a secret is not available at all Co-authored-by: Matthew Elwell --- charts/flagsmith/Chart.yaml | 2 +- charts/flagsmith/templates/NOTES.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/flagsmith/Chart.yaml b/charts/flagsmith/Chart.yaml index 51a3fc6..818e381 100644 --- a/charts/flagsmith/Chart.yaml +++ b/charts/flagsmith/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: flagsmith description: Flagsmith type: application -version: 0.59.0 +version: 0.59.1 appVersion: 2.142.0 dependencies: - name: postgresql diff --git a/charts/flagsmith/templates/NOTES.txt b/charts/flagsmith/templates/NOTES.txt index a7712b4..13bce81 100644 --- a/charts/flagsmith/templates/NOTES.txt +++ b/charts/flagsmith/templates/NOTES.txt @@ -30,7 +30,7 @@ for information about how to gain web access to the application. {{- end }} -{{- if or (not .Values.api.secretKeyFromExistingSecret.enabled) (not .Values.api.secretKey) }} +{{- if and (not .Values.api.secretKeyFromExistingSecret.enabled) (not .Values.api.secretKey) }} ###################################### ##### Warning: no secret key set #####