Skip to content

Commit

Permalink
Issue 166 json formatted logs charts support (#177)
Browse files Browse the repository at this point in the history
* add logging format values

* add logging format values

* add logging format values

* remove erroneous frontend yaml update

* chart version bump

* charts version bump

---------

Co-authored-by: Brendan.Bennett <[email protected]>
  • Loading branch information
brendanjmb and Brendan.Bennett authored Feb 27, 2024
1 parent 8bd648e commit 9cf9b16
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/flagsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: flagsmith
description: Flagsmith
type: application
version: 0.24.1
appVersion: 2.99.0
version: 0.24.2
appVersion: 2.100.0
dependencies:
- name: postgresql
repository: https://charts.helm.sh/stable
Expand Down
4 changes: 4 additions & 0 deletions charts/flagsmith/templates/_api_environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,7 @@
- name: E2E_TEST_AUTH_TOKEN
value: {{ .Values._destructiveTests.testToken | quote }}
{{- end }}
{{- if .Values.api.logging.format }}
- name: LOG_FORMAT
value: {{ .Values.api.logging.format }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/flagsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ api:
enabled: false
extraInitContainers: []
extraContainers: []
logging:
format: generic # options are generic or json.

frontend:
# Set this to `false` to switch off the frontend (deployment,
Expand Down

0 comments on commit 9cf9b16

Please sign in to comment.