amimof / amimof/node-cert-exporter

Differences in binaries and docker execution

未关闭
#66 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Go
星标
186
派生
36
平均合并
2 分钟
30 天内合并 PR
2

描述

I'm facing a trouble while i'm executing node-cert-exporter in binary version, following the instructions in the documentation. If I run the docker version I can see in the Grafana dashboard the same that's shown in the documentation's image, but I don't want to run node-cert-exporter in docker version, but binary version. And when I do that I see a bunch of certificates, which are out of the path that I passed with --include-glob parameter.

**What I execute:**
`node-cert-exporter --include-glob /etc/letsencrypt/live/*/*.pem`
👆 that directory contains a dir (my_site) and inside it three .pem files (file1.pem, file2.pem, file3.pem)

**what I want to see:** (something similar with my certificates, which i can see with docker version)
![image](https://user-images.githubusercontent.com/33734817/148496738-63978dc5-8633-4c6a-90b7-165fea67d187.png)

**what I actually see**
![image](https://user-images.githubusercontent.com/33734817/148496830-9cb57f70-58fd-4642-b4bf-bd3a63697f78.png)

**Additional information:**

**Output of `node-cert-exporter --version`:**

```
Version: v1.1.2
Commit: 8f826938657045cc01887f45aa4a89409954a348
Branch: HEAD
GoVersion: 1.15.15
```
**Additional environment details:**

OS: Ubuntu 20.04

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。