some unfinished and untested work over helm mirror

This commit is contained in:
2023-06-22 19:36:59 +03:00
parent 3bf5fb4076
commit c2a0d759bc
38 changed files with 8027 additions and 15 deletions

View File

@@ -0,0 +1,28 @@
# Security
This example deploy APM Server 8.5.1 using authentication and TLS to connect to
Elasticsearch (see [values][]).
## Usage
* Deploy [Elasticsearch Helm chart][].
* Deploy APM Server chart with security: `make install`
* You can now setup a port forward to query APM indices:
```
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`
[elasticsearch helm chart]: https://github.com/elastic/helm-charts/tree/main/elasticsearch/examples/security/
[goss integration tests]: https://github.com/elastic/helm-charts/tree/main/apm-server/examples/security/test/goss.yaml
[values]: https://github.com/elastic/helm-charts/tree/main/apm-server/examples/security/values.yaml