Disable TLS on Fleet Server agent leads to panic runtime error (invalid memory address or nil pointer dereference) for the ECK Operator. I can't deploy anything after this crash until I delete the configuration.
Moreover, I cannot use Fleet Server without TLS.
apiVersion: agent.k8s.elastic.co/v1alpha1
kind: Agent
metadata:
name: fleet-server
namespace: default
spec:
version: 8.4.2
kibanaRef:
name: quickstart
elasticsearchRefs:
- name: quickstart
http:
tls:
selfSignedCertificate:
disabled: true
mode: fleet
fleetServerEnabled: true
deployment:
replicas: 1
podTemplate:
spec:
serviceAccountName: elastic-agent
automountServiceAccountToken: true
securityContext:
runAsUser: 0
ECK Operator logs :
ECK Operator statefulset :
Elasticsearch stays in init phase :
Using ECK 2.4
Thanks for help.