forked from Onlineberatung/onlineBeratung-kubernetes-ops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
127 lines (120 loc) · 3.42 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
global:
domainName: "app.onlineberatung.local"
multitenancyEnabled: false
elkDisabled: false
multitenancyWithSingleDomainEnabled: "false"
useExternalMariaDb: false
elasticsearchHosts: "http://elasticsearch-master.default:9200"
online-counseling-logstash:
# reading the value from ELASTICSEARCH_HOST configmap env variable causes logstash to crash, therefore hardcoded host configs here
logstashPipeline:
logstash.conf: |
input {
http {
port => 8080 # default: 8080, not 9600
codec => "json"
}
}
filter {
if [serviceName] != "frontend" and [serviceName] != "users" {
drop{}
}
if ![request][correlationId] or ![request][timestamp] {
drop{}
}
}
output {
elasticsearch
{
hosts => ["http://elasticsearch-master.default:9200"]
user => '${ELASTICSEARCH_USERNAME}'
password => '${ELASTICSEARCH_PASSWORD}'
ecs_compatibility => disabled
index => "http-log-%{+YYYY.MM.dd}"
document_type => "json"
}
}
opensearch-cluster:
enabled: false
namespace: default
opensearch-logstash:
service:
ports:
- name: http
port: 8080
protocol: TCP
targetPort: 8080
ingress:
enabled: false
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1$2
className: "nginx"
pathtype: Prefix
hosts:
- host: "your.domain.com"
paths:
- path: /service/logstash
servicePort: 8080
fullnameOverride: "opensearch-logstash"
image: "opensearchproject/logstash-oss-with-opensearch-output-plugin"
persistence:
enabled: true
logstashConfig:
logstash.yml: |
http.host: 0.0.0.0
pipeline.ecs_compatibility: disabled
logstashPipeline:
logstash.conf: |
input {
http {
port => 8080 # default: 8080, not 9600
codec => "json"
}
}
filter {
if [serviceName] != "frontend" and [serviceName] != "users" {
drop{}
}
if ![request][correlationId] or ![request][timestamp] {
drop{}
}
}
output {
opensearch
{
hosts => ["https://opensearch.default:9200"]
user => '${ELASTICSEARCH_USERNAME}'
password => '${ELASTICSEARCH_PASSWORD}'
index => "http-log-%{+YYYY.MM.dd}"
document_type => "json"
ssl_certificate_verification => false
ssl => true
}
}
# Kibana
online-counseling-kibana:
kibanaConfig:
kibana.yml: |
elasticsearch:
hosts:
- "http://elasticsearch.default:9200"
serviceAccountToken: "AAEAAWVsYXN0aWMva2liYW5hL2tpYmFuYXRva2VuOnFSZTdJblZaU3JDMVNwTmxFQm40Wnc"
xpack:
encryptedSavedObjects:
encryptionKey: 866cb03e9b2d5c4f23bfb8ae72113d13
reporting:
encryptionKey: 7fb9e63caffbd78d59bccf0aecca4312
security:
encryptionKey: e88b4a2a392bde1ee1f59af9f43b5440
kibanaEncryptionKey: "9wonFxmvmSeGr0kgrvQKRGjS6LVZhVO_Awkfe0IGaY3NDpaPaj"
online-counseling-backup:
enableBackup: false
mysqlRootPassword: ""
backupDatabaseUser: ""
backupBucketAccessKey: ""
backupBucketSecretKey: ""
backupMongoDBAdmin: ""
backupMongoDBAdminPass: ""
backupGsCloudUserUUID: ""
backupGsCloudApiToken: ""
backupGsCloudClusterId: ""