UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 643f5a67 authored by Kirby Liu's avatar Kirby Liu
Browse files

initial commit to add MinIO config to loki storage


Signed-off-by: default avatarKliu <kliu@vivsoft.io>
parent 2f478965
No related branches found
No related tags found
1 merge request!5809Draft: initial commit to add MinIO config to loki storage
Pipeline #3966294 failed
......@@ -3,6 +3,7 @@
{{- end }}
{{- define "bigbang.defaults.loki" -}}
{{- $minioEnabled := (.Values.loki.minioObjectStorage.enabled) }}
# hostname is deprecated and replaced with domain. But if hostname exists then use it.
{{- $domainName := default .Values.domain .Values.hostname }}
hostname: {{ $domainName }}
......@@ -73,6 +74,19 @@ promtail:
enabled: true
{{- end }}
{{- if $minioEnabled }}
minio:
enabled: true
tenant:
configSecret:
accessKey: {{ .Values.loki.minioObjectStorage.configSecret.accessKey }}
secretKey: {{ .Values.loki.minioObjectStorage.configSecret.secretKey }}
defaultUserCredentials:
username: {{ .Values.loki.minioObjectStorage.defaultUserCredentials.username }}
password: {{ .Values.loki.minioObjectStorage.defaultUserCredentials.password }}
{{- end }}
loki:
extraMemberlistConfig:
bind_addr:
......@@ -82,6 +96,8 @@ loki:
type: "filesystem"
{{- else }}
type: "s3"
# If MinIO enabled then enter MinIO ObjectConfig
# Else S3 below
bucketNames:
{{- toYaml .Values.loki.objectStorage.bucketNames | nindent 6 }}
s3:
......
......@@ -716,6 +716,17 @@ loki:
# -- Loki clusterName identifier for Promtail and Dashboards
clusterName: ""
# -- Enable Big Bang MinIO dependency chart for Mimir
minioObjectStorage:
enabled: false
# -- MinIO root credentials
configSecret:
accessKey: "minio"
secretKey: "minio123" # default key, change this!
# Configures the Big Bang MinIO Tenant User Credentials
defaultUserCredentials:
username: "mimir-user"
password: "supersecret"
objectStorage:
# -- S3 compatible endpoint to use for connection information.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment