diff --git a/README.md b/README.md index 60d178b..75f5d4c 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,11 @@ The exporter can be configured using environment variables. Instead of providing | Enviroment | Description | | ------- | ------ | | `LOAD_BALANCER_IDS` | Supported string with specific id `11,22,33` or `all` for scraping metrics from all load balancers in the project | -| `LOAD_BALANCER_IDS_FILE` | Path to a file containing the load balancer IDs | +| `LOAD_BALANCER_IDS_PATH` | Path to a file containing the load balancer IDs | | `ACCESS_TOKEN` | Hetzner API token | -| `ACCESS_TOKEN_FILE` | Path to a file containing the Hetzner API token | +| `ACCESS_TOKEN_PATH` | Path to a file containing the Hetzner API token | | Optional `SCRAPE_INTERVAL` | value in seconds, default value is `30 seconds` | -| Optional `SCRAPE_INTERVAL_FILE` | Path to a file containing the scrape interval | +| Optional `SCRAPE_INTERVAL_PATH` | Path to a file containing the scrape interval | #### Kubernetes usage diff --git a/deploy/kubernetes-manifest/kubernetes.yaml b/deploy/kubernetes-manifest/kubernetes.yaml index 2e0256a..54cddbc 100644 --- a/deploy/kubernetes-manifest/kubernetes.yaml +++ b/deploy/kubernetes-manifest/kubernetes.yaml @@ -24,8 +24,21 @@ spec: env: - name: LOAD_BALANCER_IDS value: "" + # Uncoment this part if want to use read IDs from file + # - name: LOAD_BALANCER_IDS_PATH + # value: "" + - name: ACCESS_TOKEN value: "" + # Uncoment this part if want to use read Token from file + # - name: ACCESS_TOKEN_FILE + # value: "" + + # Optional + # - name: SCRAPE_INTERVAL + # value: "" + # - name: SCRAPE_INTERVAL_PATH + # value: "" resources: requests: memory: "128Mi"