From 2352d814a4db71e267aacc2c6c0dae0e29f7b3d4 Mon Sep 17 00:00:00 2001 From: benjamin kagia Date: Wed, 28 Aug 2024 17:02:29 +0200 Subject: [PATCH] fix: secret warning being shown We should only show the warning when a secret is not available at all --- 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 f3e8918..096ae96 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.57.0 +version: 0.57.1 appVersion: 2.137.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 #####