Disabling deprecation logs to be indexed#1472
Conversation
mark-vieira
left a comment
There was a problem hiding this comment.
LGTM but looks like this is causing some unit tests to fail due to the new default entry in elasticsearch.yml.
jmlrt
left a comment
There was a problem hiding this comment.
@framsouza I think you need to rebase your branch to 7.x upstream as there is a failing tests on K8S 1.18 in https://devops-ci.elastic.co/job/elastic+helm-charts+pull-request+cluster-creation/1626/KUBERNETES_VERSION=1.18,label=docker&&virtual/ but 1.18 CI test has been removed 2 months ago in 75a06f9#diff-3253477baaea5115041883346a02c3aeb58a2b622d803b5ebd650c489d7c3f14
jmlrt
left a comment
There was a problem hiding this comment.
As esConfig.elasticsearch.yml value is overriding the default config files in the container, we always need to answer it contains everything required.
| elasticsearch.yml: | | ||
| cluster.deprecation_indexing.enabled: false |
There was a problem hiding this comment.
As this will override the default elasticsearch.yml from the Docker image, we need to include cluster_name and network_host.
| elasticsearch.yml: | | |
| cluster.deprecation_indexing.enabled: false | |
| elasticsearch.yml: | | |
| cluster.name: "docker-cluster" | |
| network.host: 0.0.0.0 | |
| # required for https://github.com/elastic/helm-charts/issues/1462 | |
| cluster.deprecation_indexing.enabled: false |
|
another way could be to include an environment variables in helm-charts/elasticsearch/templates/statefulset.yaml Lines 298 to 330 in fdaba22 |
Fix #1462