From 677e2a9692d1085c6632d91f0d3948a747f0a995 Mon Sep 17 00:00:00 2001 From: Siri Chongasamethaworn Date: Thu, 11 Sep 2025 11:18:39 +0700 Subject: [PATCH 1/2] fix master service Signed-off-by: Siri Chongasamethaworn --- charts/graylog/Chart.yaml | 2 +- charts/graylog/templates/master-service.yaml | 2 +- charts/graylog/values.yaml | 14 ++++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/charts/graylog/Chart.yaml b/charts/graylog/Chart.yaml index 5836994..fb449b3 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.19 +version: 2.4.0 appVersion: 6.3.3 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/master-service.yaml b/charts/graylog/templates/master-service.yaml index 048780b..b839185 100644 --- a/charts/graylog/templates/master-service.yaml +++ b/charts/graylog/templates/master-service.yaml @@ -37,7 +37,7 @@ spec: selector: app.kubernetes.io/name: {{ template "graylog.name" . }} app.kubernetes.io/instance: "{{ .Release.Name }}" - graylog-role: "master" + statefulset.kubernetes.io/pod-name: {{ template "graylog.fullname" . }}-0 type: "{{ .Values.graylog.service.type }}" {{- if eq "LoadBalancer" .Values.graylog.service.master.type }} {{- if .Values.graylog.service.master.loadBalancerIP }} diff --git a/charts/graylog/values.yaml b/charts/graylog/values.yaml index 608492d..f08910e 100644 --- a/charts/graylog/values.yaml +++ b/charts/graylog/values.yaml @@ -606,7 +606,11 @@ opensearch: value: "true" - name: OPENSEARCH_INITIAL_ADMIN_PASSWORD value: "Graylog@2024" # Strong password meeting requirements: uppercase, lowercase, number, special char, >8 chars + ## Set number of OpenSearch nodes + ## + replicas: 3 ## Set default resource very low. This help reduce resources usage on GitHub Action when performing chart-testing. + ## opensearchJavaOpts: "-Xmx128M -Xms128M" resources: requests: @@ -621,7 +625,17 @@ opensearch: # storage: 30Gi # default 30Gi # Specify Mongodb settings. Ignore this section if you install MongoDB manually. +# mongodb: + ## Default Bitnami MongoDB image in the chart does not support Arm64 architecture. + ## Uncomment the following section `image` and `global.security.allowInsecureImages` to use another Bitnami MongoDB image. + ## + # image: + # repository: bitnamisecure/mongodb + # tag: latest + # global: + # security: + # allowInsecureImages: true architecture: "replicaset" useStatefulSet: true replicaCount: 1 From db1b8f77762d54da4e5719d51cb84e5ff72bcd23 Mon Sep 17 00:00:00 2001 From: Siri Chongasamethaworn Date: Thu, 11 Sep 2025 11:22:10 +0700 Subject: [PATCH 2/2] trim space Signed-off-by: Siri Chongasamethaworn --- charts/graylog/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/graylog/values.yaml b/charts/graylog/values.yaml index f08910e..3a22325 100644 --- a/charts/graylog/values.yaml +++ b/charts/graylog/values.yaml @@ -627,7 +627,7 @@ opensearch: # Specify Mongodb settings. Ignore this section if you install MongoDB manually. # mongodb: - ## Default Bitnami MongoDB image in the chart does not support Arm64 architecture. + ## Default Bitnami MongoDB image in the chart does not support Arm64 architecture. ## Uncomment the following section `image` and `global.security.allowInsecureImages` to use another Bitnami MongoDB image. ## # image: