Skip to content

Commit

Permalink
fix(provisioning): corrected the prometheus scrape annotation syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Shazad Brohi <[email protected]>
Co-authored-by: Shazad Brohi <[email protected]>
  • Loading branch information
shubham14bajpai and shazadbrohi authored Dec 22, 2021
1 parent 3bd622d commit 1ac2e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/jivavolume_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ func defaultControllerMatchLabels(pv string, pvc string) map[string]string {
func defaultAnnotations() map[string]string {
return map[string]string{"prometheus.io/path": "/metrics",
"prometheus.io/port": "9500",
"prometheus.io/scrap": "true",
"prometheus.io/scrape": "true",
}
}

Expand Down

0 comments on commit 1ac2e69

Please sign in to comment.