From 026e89f26c1cfeabcd5717c472005dbdcec97c93 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Thu, 27 Jun 2024 15:14:02 +0000 Subject: [PATCH] fix: make ISM policu apply to default indicies, latest CI module --- charts/kubezero-ci/values.yaml | 2 +- .../kubezero-telemetry/templates/opensearch/ism-policy.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/kubezero-ci/values.yaml b/charts/kubezero-ci/values.yaml index 18fdc988..bd7173d7 100644 --- a/charts/kubezero-ci/values.yaml +++ b/charts/kubezero-ci/values.yaml @@ -183,7 +183,7 @@ jenkins: agent: image: repository: public.ecr.aws/zero-downtime/jenkins-podman - tag: v0.5.1 + tag: v0.6.0 #alwaysPullImage: true podRetention: "Default" showRawYaml: false diff --git a/charts/kubezero-telemetry/templates/opensearch/ism-policy.yaml b/charts/kubezero-telemetry/templates/opensearch/ism-policy.yaml index d1f3d041..f5dadaef 100644 --- a/charts/kubezero-telemetry/templates/opensearch/ism-policy.yaml +++ b/charts/kubezero-telemetry/templates/opensearch/ism-policy.yaml @@ -31,4 +31,8 @@ spec: - name: delete actions: - delete: {} + ismTemplate: + indexPatterns: + - "logstash-*" + - "jaeger-*" {{- end }}