Hi,
I'm trying to enable RUM in my ECK deployment. I've added this to my yaml config, but it doesn't work:
apiVersion: apm.k8s.elastic.co/v1
kind: ApmServer
metadata:
name: apm-server-quickstart
namespace: default
spec:
version: 7.6.0
count: 1
secureSettings:
- secretName: apm-secret-settings
config:
output:
elasticsearch:
hosts: ["quickstart-es-http:9200"]
username: elastic
password: "${ES_PASSWORD}"
protocol: "https"
ssl.certificate_authorities: ["/usr/share/apm-server/config/elasticsearch-ca/tls.crt"]
rum:
enabled: true
event_rate:
limit: 300
lru_size: 1000
allow_origins: ['*']
library_pattern: "node_modules|~"
exclude_from_grouping: "^/webpack"
source_mapping:
enabled: true
cache:
expiration: 5m
index_pattern: "apm-*-source_map*"
elasticsearchRef:
name: quickstart
podTemplate:
spec:
containers:
- name: apm-server
volumeMounts:
- mountPath: /usr/share/apm-server/config/elasticsearch-ca
name: elasticsearch-ca
readOnly: true
volumes:
- name: elasticsearch-ca
secret:
defaultMode: 420
optional: false
secretName: es-ca # This is the secret that holds the Elasticsearch CA cert
Can anyone give me a hint what I'm doing wrong?
Thank you!