amimof / amimof/node-cert-exporter

Differences in binaries and docker execution

Đang mở
#66 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
186
Fork
36
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.