Skip to content

Commit 7cc4af3

Browse files
helm: fix service port reference in ingress.yaml (#936)
* helm: fix service port reference in ingress.yaml * update chart version, fix makefile
1 parent 0c0a931 commit 7cc4af3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: sql-exporter
33
description: Database-agnostic SQL exporter for Prometheus
44
type: application
5-
version: 0.16.1
5+
version: 0.16.2
66
appVersion: 0.20.0
77
keywords:
88
- exporter

helm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ $(LOCALBIN):
55
.PHONY: gen_docs
66
gen_docs: ## Generate helm documentation
77
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install github.com/norwoodj/helm-docs/cmd/helm-docs@latest
8-
./bin/helm-docs --template-files=./README.md.gotmpl --sort-values-order file
8+
./bin/helm-docs --template-files=./README.md.gotmpl

helm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sql-exporter
22

3-
![Version: 0.16.1](https://img.shields.io/badge/Version-0.16.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.20.0](https://img.shields.io/badge/AppVersion-0.20.0-informational?style=flat-square)
3+
![Version: 0.16.2](https://img.shields.io/badge/Version-0.16.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.20.0](https://img.shields.io/badge/AppVersion-0.20.0-informational?style=flat-square)
44

55
Database-agnostic SQL exporter for Prometheus
66

helm/templates/ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
service:
3333
name: {{ include "sql-exporter.fullname" . }}
3434
port:
35-
number: {{ .Values.service.port }}
35+
number: {{ include "sql-exporter.servicePort" . }}
3636
{{- if .Values.ingress.host }}
3737
host: {{ .Values.ingress.host }}
3838
{{- end }}

0 commit comments

Comments
 (0)