github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/elasticsearch/configs/elasticsearch.yaml.tpl (about)

     1  {{- $clusterName := $.cluster.metadata.name }}
     2  
     3  cluster.name: {{$clusterName}}
     4  
     5  http.cors.enabled: true
     6  http.cors.allow-origin: "*"
     7  http.cors.allow-headers: Authorization,X-Requested-With,Content-Type,Content-Length
     8  
     9  #----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------
    10  #
    11  # The following settings, TLS certificates, and keys have been automatically      
    12  # generated to configure Elasticsearch security features
    13  #
    14  # --------------------------------------------------------------------------------
    15  
    16  # Enable security features
    17  xpack.security.enabled: false
    18  
    19  xpack.security.enrollment.enabled: true
    20  
    21  # Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
    22  xpack.security.http.ssl:
    23    enabled: false
    24    keystore.path: certs/http.p12
    25  
    26  # Enable encryption and mutual authentication between cluster nodes
    27  xpack.security.transport.ssl:
    28    enabled: false
    29    verification_mode: certificate
    30    keystore.path: certs/transport.p12
    31    truststore.path: certs/transport.p12
    32  #----------------------- END SECURITY AUTO CONFIGURATION -------------------------