diff --git a/Dockerfile b/Dockerfile index 6ddf720..6d6d568 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/axoflow/axoflow-otel-collector/axoflow-otel-collector:0.129.0-axoflow.4 AS axo-otelcol +FROM ghcr.io/axoflow/axoflow-otel-collector/axoflow-otel-collector:0.143.0-axoflow.0 AS axo-otelcol FROM alpine:3.21 AS base diff --git a/README.md b/README.md index 4c33c61..9a69d05 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ You can find guides per connector: | Variable | Required | Default | Description | |----------|----------|---------|-------------| | `AXOROUTER_ENDPOINT` | Yes | - | Axorouter endpoint | -| `STORAGE_DIRECTORY` | No (Yes in case of Docker) | `/etc/axoflow-otel-collector/storage` | Directory used for persistence | +| `STORAGE_DIRECTORY` | No (Yes in case of Docker) | `/var/lib/axoflow-otel-collector/storage` | Directory used for persistence | | `AXOROUTER_TLS_INSECURE` | No | `false` | Whether to disable TLS security | | `AXOROUTER_TLS_CA_FILE` | No | - | Path to the CA certificate file | | `AXOROUTER_TLS_CA_PEM` | No | - | PEM-encoded CA certificate | diff --git a/charts/cloudconnectors/templates/_helpers.tpl b/charts/cloudconnectors/templates/_helpers.tpl index 507db74..8b4b2d2 100644 --- a/charts/cloudconnectors/templates/_helpers.tpl +++ b/charts/cloudconnectors/templates/_helpers.tpl @@ -79,5 +79,5 @@ Create the name of the service account to use Storage path helper */}} {{- define "cloudconnectors.storagePath" -}} -{{- default "/etc/axoflow-otel-collector/storage" .Values.storage.path -}} +{{- default "/var/lib/axoflow-otel-collector/storage" .Values.storage.path -}} {{- end -}} diff --git a/entrypoint.sh b/entrypoint.sh index 56248b0..55ac568 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,7 +2,7 @@ set -eu -: "${STORAGE_DIRECTORY:=etc/axoflow-otel-collector/storage}" +: "${STORAGE_DIRECTORY:=/var/lib/axoflow-otel-collector/storage}" detect_provider() { local provider=""