From 7e45790e86ad6ac99f654079a7c496b1128022e7 Mon Sep 17 00:00:00 2001 From: "V. Shivannikov" Date: Fri, 5 Sep 2025 12:09:05 +0300 Subject: [PATCH] feat: enable cors support Signed-off-by: V. Shivannikov --- charts/graylog/Chart.yaml | 2 +- charts/graylog/templates/configmap.yaml | 1 + charts/graylog/values.yaml | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/charts/graylog/Chart.yaml b/charts/graylog/Chart.yaml index be08eb0..062ea47 100755 --- a/charts/graylog/Chart.yaml +++ b/charts/graylog/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: graylog home: https://www.graylog.org -version: 2.3.17 +version: 2.3.18 appVersion: 6.3.1 description: Graylog is the centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes diff --git a/charts/graylog/templates/configmap.yaml b/charts/graylog/templates/configmap.yaml index 7ef19da..4c08916 100644 --- a/charts/graylog/templates/configmap.yaml +++ b/charts/graylog/templates/configmap.yaml @@ -79,6 +79,7 @@ data: root_username = {{ .Values.graylog.rootUsername }} root_email = {{ .Values.graylog.rootEmail }} root_timezone = {{ default "UTC" .Values.graylog.rootTimezone }} + http_enable_cors = {{ .Values.graylog.httpEnableCors }} {{- $externalUri := include "graylog.url" . }} {{ $graylogVersion := .Values.graylog.image.tag | default .Chart.AppVersion }} {{- if semverCompare "~2" ( $graylogVersion ) }} diff --git a/charts/graylog/values.yaml b/charts/graylog/values.yaml index 742837a..aa2d0e7 100644 --- a/charts/graylog/values.yaml +++ b/charts/graylog/values.yaml @@ -434,6 +434,10 @@ graylog: ## existingRootSecret: "" + ## Enable CORS support + ## + httpEnableCors: false + opensearch: ## Major version of the Elasticsearch version used. ## It is required by Graylog 4. See https://docs.graylog.org/en/4.0/pages/configuration/elasticsearch.html#available-elasticsearch-configuration-tunables