Open rseedorff opened 4 years ago
Have you tested out the compatability of the changes with both elasticsearch 6.x and 7.x?
I testet this PR with elasticsearch v.7.x but not with v.6.x
Tried it out with kibana 6.x seems to be crashing while trying to look for the dashboards/ kibana index, see logs below.
Setting SECURECODEBOX_PERSISTENCE_ELASTICSEARCH_KIBANA_INITIALIZE
to false doesn't seem to help, as it is already crashing at the indexExists check:
That makes sense... The kibana initialize step is seperated from the elasticsearch index initialize step. A second config option could help us here to seperate this: SECURECODEBOX_PERSISTENCE_ELASTICSEARCH_ELASTICSEARCH_INITIALIZE=true|false
.
An we could think about supporting different versions:
SECURECODEBOX_PERSISTENCE_ELASTICSEARCH_VERSION = 6|7|8
First implementation of https://github.com/secureCodeBox/secureCodeBox/issues/121