From 1549b4ccb347ca081a8ea945ce1a1521f98a4bea Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Wed, 24 Nov 2021 12:33:46 +0100 Subject: [PATCH] feat(loki): expose some more settings --- charts/stable/loki/Chart.yaml | 2 +- charts/stable/loki/questions.yaml | 56 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/charts/stable/loki/Chart.yaml b/charts/stable/loki/Chart.yaml index a5495ecc746..b016beeb4fb 100644 --- a/charts/stable/loki/Chart.yaml +++ b/charts/stable/loki/Chart.yaml @@ -23,7 +23,7 @@ name: loki sources: - https://github.com/grafana/loki type: application -version: 1.0.4 +version: 1.0.5 annotations: truecharts.org/catagories: | - logs diff --git a/charts/stable/loki/questions.yaml b/charts/stable/loki/questions.yaml index 325792d217a..60ca9a85348 100644 --- a/charts/stable/loki/questions.yaml +++ b/charts/stable/loki/questions.yaml @@ -85,6 +85,62 @@ questions: # Include{containerConfig} + - variable: config + group: "App Configuration" + label: "Loki Settings" + schema: + type: dict + attrs: + - variable: ingester + label: "Ingester" + schema: + type: dict + attrs: + - variable: chunk_idle_period + label: "chunk_idle_period" + schema: + type: string + default: "3m" + required: true + - variable: chunk_block_size + label: "chunk_block_size" + schema: + type: int + default: 262144 + required: true + - variable: chunk_retain_period + label: "chunk_retain_period" + schema: + type: string + default: "1m" + - variable: max_transfer_retries + label: "max_transfer_retries" + schema: + type: int + default: 0 + - variable: limits_config + label: "Limits Config" + schema: + type: dict + attrs: + - variable: enforce_metric_name + label: "Enforce Metric Name" + schema: + type: boolean + default: false + - variable: reject_old_samples + label: "Reject Old Samples" + schema: + type: boolean + default: true + - variable: reject_old_samples_max_age + label: "Reject Old Samples - Max Age" + schema: + type: string + default: "168h" + required: true + + - variable: service group: "Networking and Services" label: "Configure Service(s)"