Skip to content

Commit 6b2ce66

Browse files
authored
Merge pull request #758 from saikat-royc/release-1.2
Cherry-pick #757 to release-1.2
2 parents 8fe0a1a + 7ddd620 commit 6b2ce66

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG/CHANGELOG-1.2.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ _Nothing has changed._
3434
- Emit GKE PDCSI component version metric ([719](https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pull/719), [@saikat-royc](https://github.com/saikat-royc))
3535
- Add cloudbuild configuration to build the image gcp-compute-persistent-disk-csi-driver ([734](https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pull/734), [@cpanato](https://github.com/cpanato))
3636
- Bump go to the latest 1.13 available in Dockerfile ([734](https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pull/734), [@cpanato](https://github.com/cpanato))
37+
- Log GKE component version for the PD CSI driver ([757](https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/pull/757), [@saikat-royc](https://github.com/saikat-royc))
3738

3839
# v1.2.0 - Changelog since v1.1.0
3940

pkg/metrics/metrics.go

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ func (mm *metricsManager) recordComponentVersionMetric() error {
6666
}
6767

6868
gkeComponentVersion.WithLabelValues(v).Set(1.0)
69+
klog.Infof("Recorded GKE component version : %v", v)
6970
return nil
7071
}
7172

0 commit comments

Comments
 (0)