You've already forked prometheus-postgres-exporter
							
							fix(serviceMonitor): bind the port always to the port of the service
This commit is contained in:
		| @@ -134,7 +134,6 @@ tests: | ||||
|       action: "drop" | ||||
|     prometheus.metrics.serviceMonitor.scrapeTimeout: "5s" | ||||
|     prometheus.metrics.serviceMonitor.scheme: "http" | ||||
|     prometheus.metrics.serviceMonitor.port: 10443 | ||||
|   asserts: | ||||
|   - hasDocuments: | ||||
|       count: 1 | ||||
| @@ -166,7 +165,4 @@ tests: | ||||
|       value: 5s | ||||
|   - equal: | ||||
|       path: spec.endpoints[0].scheme | ||||
|       value: http | ||||
|   - equal: | ||||
|       path: spec.endpoints[0].targetPort | ||||
|       value: 10443 | ||||
|       value: http | ||||
		Reference in New Issue
	
	Block a user