cw-infra-apps/elasticsearch/examples/security
2026-04-10 12:11:01 +05:00
..
test Initial commit - fresh start without history 2026-04-10 12:11:01 +05:00
Makefile Initial commit - fresh start without history 2026-04-10 12:11:01 +05:00
README.md Initial commit - fresh start without history 2026-04-10 12:11:01 +05:00
values.yaml Initial commit - fresh start without history 2026-04-10 12:11:01 +05:00

Security

This example deploy a 3 nodes Elasticsearch 8.5.1 with authentication and autogenerated certificates for TLS (see values).

Note that this configuration should be used for test only. For a production deployment you should generate SSL certificates following the official docs.

Usage

  • Create the required secrets: make secrets

  • Deploy Elasticsearch chart with the default values: make install

  • You can now setup a port forward to query Elasticsearch API:

    kubectl port-forward svc/security-master 9200
    curl -u elastic:changeme https://localhost:9200/_cat/indices
    

Testing

You can also run goss integration tests using make test