Commit Graph
31 Commits
Author SHA1 Message Date
Ciprian Hacman 6097eaba54 Bump github.com/prometheus/prometheus to v0.311.3 to fix CVEs
The bump to v0.311.3 from commit 98e831b4 ("Fix Grype CVEs: update
logrus and prometheus/prometheus") was unintentionally reverted to
v0.35.0 by the go.mod conflict resolution in commit f844870a ("Run go
mod tidy and adapt to prometheus/common v0.67 API").

Re-apply it to fix CVE-2026-42154 (High), CVE-2026-40179 and
CVE-2026-44903 (Medium).

prometheus/prometheus v0.311.3 requires k8s.io/client-go v0.35.x,
which would drag the k8s.io modules past the v0.34 line this branch
must stay on. Pin k8s.io/api, k8s.io/apimachinery and k8s.io/client-go
back to v0.34.1 with replace directives in both the root and test
modules, so the built binaries keep using v0.34.1 (the replacement is
also what gets recorded in the binary build info).

The only prometheus/prometheus package linked into the NPD binaries is
model/value, so none of the k8s-facing prometheus code is compiled.
2026-07-11 14:43:40 +03:00
Ciprian Hacman f844870ae3 Run go mod tidy and adapt to prometheus/common v0.67 API 2026-05-04 12:04:39 +03:00
Bruno ChauvetandCiprian Hacman 98e831b4f0 Fix Grype CVEs: update logrus and prometheus/prometheus
- Update github.com/sirupsen/logrus v1.9.0 -> v1.9.3 in test/go.mod
  to fix GHSA-4f99-4q7p-p3gh (High)
- Update github.com/prometheus/prometheus v0.35.0 -> v0.311.3
  to fix GHSA-vffh-x6r8-xx99 (Medium)
- Run go mod tidy and go mod vendor to update vendor directory
2026-05-04 10:39:49 +03:00
Ciprian Hacman ffaefd99ac Update dependencies 2025-08-10 07:59:08 +03:00
Ciprian HacmanandCiprian Hacman 0147098968 Update dependencies
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
Signed-off-by: Ciprian Hacman <chacman@microsoft.com>
2025-04-28 17:41:41 +03:00
Ciprian HacmanandCiprian Hacman 0f1ee66855 Update dependencies
Signed-off-by: Ciprian Hacman <chacman@microsoft.com>
2025-04-14 16:52:20 +03:00
github-actions c0bccb7c76 Update dependencies 2024-07-19 06:06:26 +00:00
github-actions 7a48ce2e38 Update dependencies 2024-06-07 06:06:34 +00:00
github-actions 09bbaa9c32 Update dependencies 2024-05-17 06:06:00 +00:00
github-actions 273c3f5266 Update dependencies 2024-04-26 06:05:56 +00:00
github-actions 7d81d8e12a Update dependencies 2024-04-19 06:06:22 +00:00
github-actions e4f8f268e8 Update dependencies 2024-04-12 06:05:27 +00:00
github-actions 6c34d567d4 Update dependencies 2024-04-03 22:17:34 +00:00
github-actions 10378c8b11 Update dependencies 2024-03-25 21:18:45 +00:00
Ciprian Hacman 9769baefb9 Update dependencies 2024-03-06 07:12:46 +02:00
Ciprian Hacman 08b2255c33 Update dependencies 2024-02-28 06:27:06 +02:00
Ciprian Hacman ef98b9612e Update dependencies 2024-02-04 06:24:27 +02:00
Fan Shang Xiang 8283e091cd bump k8s.io/client-go to 1.28.2 2023-09-14 06:22:49 +00:00
Ciprian Hacman 9ad24ea2c7 Move test dependencies to test dir 2023-09-11 21:14:19 +03:00
Fan Shang Xiang 469ba765fd bump k8s.io deps to v0.28.1 2023-08-31 06:31:28 +00:00
Mike Miranda 5fd18a117f Update dependencies to latest 2023-06-29 18:30:57 +00:00
Fan Shang Xiang b5e4ef628b bump k8s.io to 1.17.2 2023-06-12 22:27:39 +08:00
Varsha Teratipally e8b55acc2b update golang to 1.20 2023-02-09 20:36:36 +00:00
Karan Goel db35f6a857 bump some dependencies to latest versions 2020-11-09 15:33:13 -08:00
Xuewei Zhang 9ade82734d Add github.com/prometheus/procfs library 2020-01-31 16:02:15 -08:00
Xuewei Zhang 3fc6c7f306 Add vendor code for Boskos
Added replace statement for apache/thrift, since it has been recently
moved from git.apache.org/thrift.git to github.com/apache/thrift, and is
causing `go get` to fail.

See https://github.com/jenkins-x/jx/pull/3321 for more detail.

Commands used:
GO111MODULE=on go get k8s.io/test-infra/boskos/client
GO111MODULE=on go mod vendor
2019-09-14 15:22:09 -07:00
Xuewei Zhang aa44e54c50 Add OpenCensus and gopsutil as dependency 2019-06-05 17:10:25 -07:00
Zhen Wang d34cd0c15b go mod vendor 2019-06-04 01:07:41 -07:00
Xuewei Zhang 3c0fe2289b Add OpenCensus in Godep
This is generated using below commands:
go get -u -v go.opencensus.io/...
go get -u -v contrib.go.opencensus.io/exporter/prometheus
godep update ./...
godep save ./...
2019-06-03 15:04:42 -07:00
andy xie 2c12274333 bump kubernetes version to v1.4.0-beta.3 2016-12-20 18:11:03 +08:00
Lantao Liu d96d67dae3 Add Godeps 2016-05-17 15:55:59 -07:00