Skip to content

Commit

Permalink
Merge pull request #758 from saikat-royc/release-1.2
Browse files Browse the repository at this point in the history
Cherry-pick #757 to release-1.2
  • Loading branch information
k8s-ci-robot authored Apr 30, 2021
2 parents 8fe0a1a + 7ddd620 commit 6b2ce66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG/CHANGELOG-1.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ _Nothing has changed._
- 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))
- 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))
- 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))
- 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))

# v1.2.0 - Changelog since v1.1.0

Expand Down
1 change: 1 addition & 0 deletions pkg/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func (mm *metricsManager) recordComponentVersionMetric() error {
}

gkeComponentVersion.WithLabelValues(v).Set(1.0)
klog.Infof("Recorded GKE component version : %v", v)
return nil
}

Expand Down

0 comments on commit 6b2ce66

Please sign in to comment.