summaryrefslogtreecommitdiff
path: root/vendor/elastic_stack
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-13 00:07:50 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-13 00:07:50 +0000
commit8dc1e72e2b5cb6112d5468194580edb186de4659 (patch)
treef77ab94b3a74dcb06c97ce1ea54a6f89eaeb26bf /vendor/elastic_stack
parent0df696c5f77936ecae5ea3c3f17b3e885d7dea0b (diff)
downloadgitlab-ce-8dc1e72e2b5cb6112d5468194580edb186de4659.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'vendor/elastic_stack')
-rw-r--r--vendor/elastic_stack/values.yaml100
1 files changed, 34 insertions, 66 deletions
diff --git a/vendor/elastic_stack/values.yaml b/vendor/elastic_stack/values.yaml
index ec05f163cf0..21352dd35e2 100644
--- a/vendor/elastic_stack/values.yaml
+++ b/vendor/elastic_stack/values.yaml
@@ -1,60 +1,41 @@
+# Default values for elastic-stack.
+# This is a YAML-formatted file.
+# Declare variables to be passed into your templates.
+
elasticsearch:
enabled: true
- cluster:
- env:
- MINIMUM_MASTER_NODES: "1"
- master:
- replicas: 2
- client:
- replicas: 1
- data:
- replicas: 2
-
-kibana:
- enabled: false
-
-logstash:
- enabled: false
+ # prefix elasticsearch resources with the name of the releases
+ # looks like we can't use {{ .Release.Name }}-elasticsearch
+ # https://github.com/helm/helm/issues/2133
+ clusterName: "elastic-stack-elasticsearch"
filebeat:
enabled: true
- config:
- output.file.enabled: false
- output.elasticsearch:
- enabled: true
- hosts: ["http://elastic-stack-elasticsearch-client:9200"]
- filebeat.inputs:
- - type: log
- enabled: true
- paths:
- - /var/log/*.log
- - /var/log/messages
- - /var/log/syslog
- - type: docker
- containers.ids:
- - "*"
- json.keys_under_root: true
- json.ignore_decoding_error: true
- processors:
- - add_kubernetes_metadata:
- - drop_event:
- when:
- equals:
- kubernetes.container.name: "filebeat"
- - decode_json_fields:
- fields: ["message"]
- when:
- equals:
- kubernetes.container.name: "modsecurity-log"
-
-fluentd:
- enabled: false
-
-fluent-bit:
- enabled: false
-
-nginx-ldapauth-proxy:
+ filebeatConfig:
+ filebeat.yml: |
+ output.file.enabled: false
+ output.elasticsearch:
+ hosts: ["http://elastic-stack-elasticsearch-master:9200"]
+ filebeat.inputs:
+ - type: container
+ paths:
+ - '/var/lib/docker/containers/*/*.log'
+ json.keys_under_root: true
+ json.ignore_decoding_error: true
+ processors:
+ - add_id:
+ target_field: tie_breaker_id
+ - add_cloud_metadata: ~
+ - add_kubernetes_metadata: ~
+ - decode_json_fields:
+ fields: ["message"]
+ when:
+ equals:
+ kubernetes.container.namespace: "gitlab-managed-apps"
+ kubernetes.container.name: "modsecurity-log"
+kibana:
enabled: false
+ elasticsearchHosts: "http://elastic-stack-elasticsearch-master:9200"
elasticsearch-curator:
enabled: true
@@ -63,7 +44,7 @@ elasticsearch-curator:
---
client:
hosts:
- - elastic-stack-elasticsearch-client
+ - elastic-stack-elasticsearch-master
port: 9200
action_file_yml: |-
---
@@ -76,6 +57,7 @@ elasticsearch-curator:
actionable list of indices (ignore_empty_list) and exit cleanly.
options:
ignore_empty_list: True
+ allow_ilm_indices: True
filters:
- filtertype: pattern
kind: prefix
@@ -86,17 +68,3 @@ elasticsearch-curator:
timestring: '%Y.%m.%d'
unit: days
unit_count: 30
- 2:
- action: delete_indices
- description: >-
- Indices created by filebeat 6.7.0 are incompatible with filebeat 7,
- so they will be deleted.
- options:
- ignore_empty_list: True
- filters:
- - filtertype: pattern
- kind: prefix
- value: filebeat-6.7.0-
-
-elasticsearch-exporter:
- enabled: false