Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(helm): support custom release name in OpenSearch config (#845) #845

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions helm/reana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ opensearch:
singleNode: true # advanced storage configuration needed if set to false
config:
opensearch.yml: |
cluster.name: reana-opensearch
cluster.name: {{ include "reana.prefix" . }}-opensearch
network.host: 0.0.0.0
plugins:
security:
Expand Down Expand Up @@ -413,7 +413,7 @@ fluent-bit:
inputs: |
[INPUT]
Name tail
Path /var/log/containers/reana-run-job-*
Path /var/log/containers/{{ include "reana.prefix" . }}-run-job-*
multiline.parser docker, cri
Tag kube.*
Skip_Long_Lines {{ .Values.inputConfig.skipLongLines }}
Expand All @@ -423,7 +423,7 @@ fluent-bit:

[INPUT]
Name tail
Path /var/log/containers/reana-run-batch-*
Path /var/log/containers/{{ include "reana.prefix" . }}-run-batch-*
multiline.parser docker, cri
Tag kube.*
Skip_Long_Lines {{ .Values.inputConfig.skipLongLines }}
Expand All @@ -445,15 +445,15 @@ fluent-bit:

[FILTER]
Name parser
Match kube.var.log.containers.reana-run-batch-*job-controller*
Match kube.var.log.containers.{{ include "reana.prefix" . }}-run-batch-*job-controller*
Key_name log
Parser reana-capture
Reserve_Data On
Preserve_Key On

[FILTER]
Name grep
Match kube.var.log.containers.reana-run-batch-*job-controller*
Match kube.var.log.containers.{{ include "reana.prefix" . }}-run-batch-*job-controller*
Logical_Op or
Regex level ERROR
Regex level WARNING
Expand Down Expand Up @@ -495,19 +495,19 @@ fluent-bit:

[FILTER]
Name record_modifier
Match kube.var.log.containers.reana-run-job-*
Remove_key kubernetes.labels.reana-run-batch-workflow-uuid
Match kube.var.log.containers.{{ include "reana.prefix" . }}-run-job-*
Remove_key kubernetes.labels.{{ include "reana.prefix" . }}-run-batch-workflow-uuid

[FILTER]
Name record_modifier
Match kube.var.log.containers.reana-run-batch-*
Match kube.var.log.containers.{{ include "reana.prefix" . }}-run-batch-*
Remove_key kubernetes.labels.job-name

## https://docs.fluentbit.io/manual/pipeline/outputs
outputs: |
[OUTPUT]
Name opensearch
Match kube.var.log.containers.reana-run-job-*
Match kube.var.log.containers.{{ include "reana.prefix" . }}-run-job-*
Host {{ .Values.outputConfig.host }}
{{- if .Values.outputConfig.httpPasswd }}
HTTP_User {{ .Values.outputConfig.httpUser }}
Expand All @@ -525,7 +525,7 @@ fluent-bit:

[OUTPUT]
Name opensearch
Match kube.var.log.containers.reana-run-batch-*
Match kube.var.log.containers.{{ include "reana.prefix" . }}-run-batch-*
Host {{ .Values.outputConfig.host }}
{{- if .Values.outputConfig.httpPasswd }}
HTTP_User {{ .Values.outputConfig.httpUser }}
Expand Down