From 90fd7362e6061366c2ed3d769ed06f2f978d3a12 Mon Sep 17 00:00:00 2001 From: Stephan Feurer Date: Mon, 22 Jul 2024 12:19:29 +0200 Subject: [PATCH] Update Lokistack storage scheme to v13 With Logging 5.9 Lokistack uses a new storage schema. The new schema is valid from 2024-09-01. --- class/defaults.yml | 2 ++ docs/modules/ROOT/pages/references/parameters.adoc | 4 ++-- .../openshift4-logging/openshift4-logging/50_loki_stack.yaml | 2 ++ .../openshift4-logging/openshift4-logging/50_loki_stack.yaml | 2 ++ .../openshift4-logging/openshift4-logging/50_loki_stack.yaml | 2 ++ 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/class/defaults.yml b/class/defaults.yml index 614be17..a6a8abd 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -34,6 +34,8 @@ parameters: schemas: - version: v12 effectiveDate: '2022-06-01' + - version: v13 + effectiveDate: '2024-09-01' secret: type: s3 name: loki-logstore diff --git a/docs/modules/ROOT/pages/references/parameters.adoc b/docs/modules/ROOT/pages/references/parameters.adoc index e0ae599..58b29f2 100644 --- a/docs/modules/ROOT/pages/references/parameters.adoc +++ b/docs/modules/ROOT/pages/references/parameters.adoc @@ -257,8 +257,8 @@ spec: size: 1x.extra-small storage: schemas: - - version: v12 - effectiveDate: '2022-06-01' + - version: v13 + effectiveDate: '2022-09-01' secret: type: s3 name: loki-logstore diff --git a/tests/golden/defaults/openshift4-logging/openshift4-logging/50_loki_stack.yaml b/tests/golden/defaults/openshift4-logging/openshift4-logging/50_loki_stack.yaml index d61e352..259068c 100644 --- a/tests/golden/defaults/openshift4-logging/openshift4-logging/50_loki_stack.yaml +++ b/tests/golden/defaults/openshift4-logging/openshift4-logging/50_loki_stack.yaml @@ -17,6 +17,8 @@ spec: schemas: - effectiveDate: '2022-06-01' version: v12 + - effectiveDate: '2024-09-01' + version: v13 secret: name: loki-logstore type: s3 diff --git a/tests/golden/master/openshift4-logging/openshift4-logging/50_loki_stack.yaml b/tests/golden/master/openshift4-logging/openshift4-logging/50_loki_stack.yaml index d61e352..259068c 100644 --- a/tests/golden/master/openshift4-logging/openshift4-logging/50_loki_stack.yaml +++ b/tests/golden/master/openshift4-logging/openshift4-logging/50_loki_stack.yaml @@ -17,6 +17,8 @@ spec: schemas: - effectiveDate: '2022-06-01' version: v12 + - effectiveDate: '2024-09-01' + version: v13 secret: name: loki-logstore type: s3 diff --git a/tests/golden/multilineerr/openshift4-logging/openshift4-logging/50_loki_stack.yaml b/tests/golden/multilineerr/openshift4-logging/openshift4-logging/50_loki_stack.yaml index d61e352..259068c 100644 --- a/tests/golden/multilineerr/openshift4-logging/openshift4-logging/50_loki_stack.yaml +++ b/tests/golden/multilineerr/openshift4-logging/openshift4-logging/50_loki_stack.yaml @@ -17,6 +17,8 @@ spec: schemas: - effectiveDate: '2022-06-01' version: v12 + - effectiveDate: '2024-09-01' + version: v13 secret: name: loki-logstore type: s3