summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-20 14:34:42 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-20 14:34:42 +0000
commit9f46488805e86b1bc341ea1620b866016c2ce5ed (patch)
treef9748c7e287041e37d6da49e0a29c9511dc34768 /vendor
parentdfc92d081ea0332d69c8aca2f0e745cb48ae5e6d (diff)
downloadgitlab-ce-9f46488805e86b1bc341ea1620b866016c2ce5ed.tar.gz
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'vendor')
-rw-r--r--vendor/elastic_stack/values.yaml89
-rwxr-xr-xvendor/elastic_stack/wait-for-elasticsearch.sh2
-rw-r--r--vendor/project_templates/android.tar.gzbin132592 -> 133429 bytes
-rw-r--r--vendor/project_templates/sse_middleman.tar.gzbin7099 -> 7368 bytes
4 files changed, 35 insertions, 56 deletions
diff --git a/vendor/elastic_stack/values.yaml b/vendor/elastic_stack/values.yaml
index 48950ed8bbb..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.prospectors:
- - 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,6 +68,3 @@ elasticsearch-curator:
timestring: '%Y.%m.%d'
unit: days
unit_count: 30
-
-elasticsearch-exporter:
- enabled: false
diff --git a/vendor/elastic_stack/wait-for-elasticsearch.sh b/vendor/elastic_stack/wait-for-elasticsearch.sh
index 1423af2e10b..33c5eaae9ef 100755
--- a/vendor/elastic_stack/wait-for-elasticsearch.sh
+++ b/vendor/elastic_stack/wait-for-elasticsearch.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
IFS=$'\n\t'
set -euo pipefail
diff --git a/vendor/project_templates/android.tar.gz b/vendor/project_templates/android.tar.gz
index 277aedaa1ca..fff7a7e45a6 100644
--- a/vendor/project_templates/android.tar.gz
+++ b/vendor/project_templates/android.tar.gz
Binary files differ
diff --git a/vendor/project_templates/sse_middleman.tar.gz b/vendor/project_templates/sse_middleman.tar.gz
index 62126e8f80d..30d38fbb43d 100644
--- a/vendor/project_templates/sse_middleman.tar.gz
+++ b/vendor/project_templates/sse_middleman.tar.gz
Binary files differ