kernel-param:
  vm.max_map_count:
    value: "262144"

http:
  https://elasticsearch-master:9200/_cluster/health:
    status: 200
    timeout: 2000
    username: elastic
    allow-insecure: true
    password: "{{ .Env.ELASTIC_PASSWORD }}"
    body:
      - "green"
      - '"number_of_nodes":3'
      - '"number_of_data_nodes":3'

  https://localhost:9200:
    status: 200
    timeout: 2000
    allow-insecure: true
    username: elastic
    password: "{{ .Env.ELASTIC_PASSWORD }}"
    body:
      - '"number" : "8.4.1"'
      - '"cluster_name" : "elasticsearch"'
      - "You Know, for Search"

file:
  /usr/share/elasticsearch/data:
    exists: true
    mode: "2775"
    owner: root
    group: elasticsearch
    filetype: directory

mount:
  /usr/share/elasticsearch/data:
    exists: true

user:
  elasticsearch:
    exists: true
    uid: 1000
    gid: 1000
