From c16dc2c60e07ffe76b698b98872a0a8422ec3a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Tue, 2 Jun 2020 11:39:54 +0200 Subject: [PATCH] Fix index patterns --- templates/openshift/template-operations.yml | 2 +- templates/openshift/template-project.yml | 2 +- templates/test/Makefile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/openshift/template-operations.yml b/templates/openshift/template-operations.yml index c9fafdc..208a16b 100644 --- a/templates/openshift/template-operations.yml +++ b/templates/openshift/template-operations.yml @@ -4,7 +4,7 @@ skeleton_index_pattern_path: ../skeleton-index-pattern.json elasticsearch_template: name: com.redhat.viaq-openshift-operations index_pattern_old_model: ".operations.*" - index_pattern: [ "infra-*" , "audit.infra-*" ] + index_pattern: [ "infra*", "audit*" ] order: 10 namespaces: diff --git a/templates/openshift/template-project.yml b/templates/openshift/template-project.yml index 5bbf4af..842a4f7 100644 --- a/templates/openshift/template-project.yml +++ b/templates/openshift/template-project.yml @@ -4,7 +4,7 @@ skeleton_index_pattern_path: ../skeleton-index-pattern.json elasticsearch_template: name: com.redhat.viaq-openshift-project index_pattern_old_model: "project.*" - index_pattern: "app-*" + index_pattern: [ "app*" ] order: 10 namespaces: diff --git a/templates/test/Makefile b/templates/test/Makefile index aef6561..74ec7a1 100644 --- a/templates/test/Makefile +++ b/templates/test/Makefile @@ -1,10 +1,10 @@ .PHONY: all clean docs all: docs - python ../../scripts/generate_template.py template-test.yml ../../namespaces/ + python3 ../../scripts/generate_template.py template-test.yml ../../namespaces/ clean: rm *.json *.asciidoc docs: - python ../../scripts/generate_template.py template-test.yml ../../namespaces/ --docs + python3 ../../scripts/generate_template.py template-test.yml ../../namespaces/ --docs