From 9b145ce5daf5d5621eba7a05e40db04d5aa8e36f Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Fri, 3 Nov 2023 14:09:12 +0100 Subject: [PATCH] feat: Bump Edge to 16.0.1, and default to json for logformat (#101) * feat: Bump Edge to 16.0.1, and default to json for logformat * chore(ci): Bump chart-testing-action --- .github/workflows/ci.yaml | 2 +- charts/unleash-edge/templates/deployment.yaml | 4 ++++ charts/unleash-edge/values.yaml | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 26209b3..f4838f7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -119,7 +119,7 @@ jobs: python-version: 3.9 check-latest: true - name: Set up chart-testing - uses: helm/chart-testing-action@v2.4.0 + uses: helm/chart-testing-action@v2.6.0 - name: Run chart-testing (list-changed) id: list-changed run: | diff --git a/charts/unleash-edge/templates/deployment.yaml b/charts/unleash-edge/templates/deployment.yaml index b4e93f4..627dd35 100644 --- a/charts/unleash-edge/templates/deployment.yaml +++ b/charts/unleash-edge/templates/deployment.yaml @@ -40,6 +40,10 @@ spec: {{- if .Values.existingSecrets }} {{- toYaml .Values.existingSecrets | nindent 12 }} {{- end }} + {{- if .Values.edge.logFormat }} + - name: LOG_FORMAT + value: "{{ .Values.edge.logFormat }}" + {{- end }} {{- if .Values.env }} {{- toYaml .Values.env | nindent 12 }} {{- end }} diff --git a/charts/unleash-edge/values.yaml b/charts/unleash-edge/values.yaml index e53f457..1da3006 100644 --- a/charts/unleash-edge/values.yaml +++ b/charts/unleash-edge/values.yaml @@ -108,3 +108,4 @@ existingSecrets: edge: upstreamUrl: "http://unleash.unleash:4242" logLevel: "warn" + logFormat: "json"