diff --git a/README.md b/README.md index a853d25..d88bb49 100644 --- a/README.md +++ b/README.md @@ -102,36 +102,36 @@ helm install cloudflare-exporter/cloudflare-exporter ## Docker ### Build -Images are available at [Dockerhub](https://hub.docker.com/r/lablabs/cloudflare_exporter) +Images are available at [Github Container Registry](https://github.com/lablabs/cloudflare-exporter/pkgs/container/cloudflare_exporter) ``` -docker build -t lablabs/cloudflare_exporter . +docker build -t ghcr.io/lablabs/cloudflare_exporter . ``` ### Run Authenticating with email + API key: ``` -docker run --rm -p 8080:8080 -e CF_API_KEY=${CF_API_KEY} -e CF_API_EMAIL=${CF_API_EMAIL} lablabs/cloudflare_exporter +docker run --rm -p 8080:8080 -e CF_API_KEY=${CF_API_KEY} -e CF_API_EMAIL=${CF_API_EMAIL} ghcr.io/lablabs/cloudflare_exporter ``` API token: ``` -docker run --rm -p 8080:8080 -e CF_API_TOKEN=${CF_API_TOKEN} lablabs/cloudflare_exporter +docker run --rm -p 8080:8080 -e CF_API_TOKEN=${CF_API_TOKEN} ghcr.io/lablabs/cloudflare_exporter ``` Configure zones and listening port: ``` -docker run --rm -p 8080:8081 -e CF_API_TOKEN=${CF_API_TOKEN} -e CF_ZONES=zoneid1,zoneid2,zoneid3 -e LISTEN=:8081 lablabs/cloudflare_exporter +docker run --rm -p 8080:8081 -e CF_API_TOKEN=${CF_API_TOKEN} -e CF_ZONES=zoneid1,zoneid2,zoneid3 -e LISTEN=:8081 ghcr.io/lablabs/cloudflare_exporter ``` Disable non-free metrics: ``` -docker run --rm -p 8080:8080 -e CF_API_TOKEN=${CF_API_TOKEN} -e FREE_TIER=true lablabs/cloudflare_exporter +docker run --rm -p 8080:8080 -e CF_API_TOKEN=${CF_API_TOKEN} -e FREE_TIER=true ghcr.io/lablabs/cloudflare_exporter ``` Access help: ``` -docker run --rm -p 8080:8080 -i lablabs/cloudflare_exporter --help +docker run --rm -p 8080:8080 -i ghcr.io/lablabs/cloudflare_exporter --help ``` ## Contributing and reporting issues diff --git a/charts/cloudflare-exporter/Chart.yaml b/charts/cloudflare-exporter/Chart.yaml index 15ef03c..b2ab755 100644 --- a/charts/cloudflare-exporter/Chart.yaml +++ b/charts/cloudflare-exporter/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: cloudflare-exporter -version: 0.1.7 +version: 0.1.8 appVersion: 0.0.9 home: https://github.com/lablabs/cloudflare-exporter description: A Helm chart for cloudflare exporter diff --git a/charts/cloudflare-exporter/README.md b/charts/cloudflare-exporter/README.md index b226dc2..0d33afa 100644 --- a/charts/cloudflare-exporter/README.md +++ b/charts/cloudflare-exporter/README.md @@ -18,7 +18,7 @@ The following table lists the configurable parameters of the Cloudflare-exporter | Parameter | Description | Default | | ------------------------ | ----------------------- | -------------- | | `replicaCount` | | `1` | -| `image.repository` | | `"lablabs/cloudflare_exporter"` | +| `image.repository` | | `"ghcr.io/lablabs/cloudflare_exporter"` | | `image.pullPolicy` | | `"Always"` | | `image.tag` | | `"0.0.2"` | | `env` | | `[]` | diff --git a/charts/cloudflare-exporter/values.yaml b/charts/cloudflare-exporter/values.yaml index 566a6a4..b89f436 100644 --- a/charts/cloudflare-exporter/values.yaml +++ b/charts/cloudflare-exporter/values.yaml @@ -5,7 +5,7 @@ replicaCount: 1 image: - repository: lablabs/cloudflare_exporter + repository: ghcr.io/lablabs/cloudflare_exporter pullPolicy: Always # Overrides the image tag whose default is the chart appVersion. # tag: latest