Skip to content

Commit

Permalink
Fix index patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
lukas-vlcek committed Jun 2, 2020
1 parent 39d0b71 commit c16dc2c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion templates/openshift/template-operations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion templates/openshift/template-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions templates/test/Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c16dc2c

Please sign in to comment.