-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapm.yaml
34 lines (32 loc) · 981 Bytes
/
apm.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
apmConfig:
apm-server.yml: |
apm-server:
host: "0.0.0.0:8200"
queue: {}
output.elasticsearch:
username: '${ELASTICSEARCH_USERNAME}'
password: '${ELASTICSEARCH_PASSWORD}'
protocol: https
hosts: ["elasticsearch:9200"]
ssl.enabled: true
ssl.verification_mode: full
ssl.certificate_authorities: /usr/share/apm-server/config/certs/ca.crt
ssl.certificate: /usr/share/apm-server/config/certs/tls.crt
ssl.key: /usr/share/apm-server/config/certs/tls.key
# nodeSelector:
# name: for-otel
secretMounts:
- name: apm-server-certificates
secretName: apm-server-certificates
path: /usr/share/apm-server/config/certs
extraEnvs:
- name: "ELASTICSEARCH_USERNAME"
valueFrom:
secretKeyRef:
name: elasticsearch-master-credentials
key: username
- name: "ELASTICSEARCH_PASSWORD"
valueFrom:
secretKeyRef:
name: elasticsearch-master-credentials
key: password