Skip to content

Commit

Permalink
Merge pull request #7 from KongZ/fix-mongodb
Browse files Browse the repository at this point in the history
Fix mongodb
  • Loading branch information
KongZ authored Nov 24, 2020
2 parents c7469fe + 3b2a884 commit cc16f1c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
chmod 700 get_helm.sh
./get_helm.sh
- name: Add dependency chart repos
run: |
helm repo add stable https://charts.helm.sh/stable
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Run chart-releaser
uses: helm/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion charts/graylog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: graylog
home: https://www.graylog.org
version: 1.7.0
version: 1.7.1
appVersion: 3.3.8
description: Graylog is the centralized log management solution built to open standards for capturing, storing, and enabling real-time analysis of terabytes of machine data.
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/graylog/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Or use chart dependencies with release name
{{- else if .Values.graylog.mongodb.uri }}
{{- .Values.graylog.mongodb.uri -}}
{{- else }}
{{- printf "mongodb://%s-mongodb.%s.svc.cluster.local:27017/graylog?replicaSet=rs0" .Release.Name .Release.Namespace -}}
{{- printf "mongodb://%s-mongodb-headless.%s.svc.cluster.local:27017/graylog?replicaSet=rs0" .Release.Name .Release.Namespace -}}
{{- end -}}
{{- end -}}

Expand Down
10 changes: 5 additions & 5 deletions charts/graylog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ graylog:
# uri: mongodb://user:pass@host1:27017,host2:27017,host3:27017/graylog?replicaSet=rs01
uri: ""
# Allow mongodb uri to be fetched from a k8s secret
# {{ graylog.fullname }}-mongodb will be used as uriSecretName if left empty
# {{ graylog.fullname }}-headless will be used as uriSecretName if left empty
uriSecretName: ""
uriSecretKey: ""

Expand Down Expand Up @@ -395,14 +395,14 @@ elasticsearch:
repository: "docker.elastic.co/elasticsearch/elasticsearch-oss"
tag: "6.8.13"
client:
replicas: 2
replicas: 1
master:
replicas: 3
replicas: 1
data:
replicas: 2
replicas: 1
cluster:
env:
MINIMUM_MASTER_NODES: 2
MINIMUM_MASTER_NODES: 1
xpackEnable: false

mongodb:
Expand Down

0 comments on commit cc16f1c

Please sign in to comment.