官方helm

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
apiVersion: v1
kind: Secret
metadata:
labels:
cattle.io/creator: norman
name: elastic-credentials
namespace: kibana
type: Opaque
data:
password: ***
username: ***
---
apiVersion: v1
kind: Secret
metadata:
labels:
cattle.io/creator: norman
name: kibana
namespace: kibana
type: Opaque
data:
encryptionkey: ***

elasticsearchHosts: "http://elasticsearch-master.elasticsearch.svc.cluster.local:9200"

extraEnvs:
- name: 'ELASTICSEARCH_USERNAME'
valueFrom:
secretKeyRef:
name: elastic-credentials
key: username
- name: 'ELASTICSEARCH_PASSWORD'
valueFrom:
secretKeyRef:
name: elastic-credentials
key: password
- name: 'KIBANA_ENCRYPTION_KEY'
valueFrom:
secretKeyRef:
name: kibana
key: encryptionkey

kibanaConfig:
kibana.yml: |
i18n.locale: "zh-CN"