Skip to content

Commit

Permalink
fix: secret warning being shown (Flagsmith#269)
Browse files Browse the repository at this point in the history
We should only show the warning when a secret is not available at all

Co-authored-by: Matthew Elwell <[email protected]>
  • Loading branch information
kagia and matthewelwell authored Oct 3, 2024
1 parent 52e0209 commit 88fe146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/flagsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/flagsmith/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 #####
Expand Down

0 comments on commit 88fe146

Please sign in to comment.