Skip to content

Commit

Permalink
[prometheus-postgres-exporter] Allow override of container name (#4803)
Browse files Browse the repository at this point in the history
* [prometheus-postgres-exporter] Allow override of container name

When using this chart as dependency, you may want to use alias.
This alias may use camelCase as this is a common convention in values.yaml. 
This will result in an error as expected name must conform to RFC 1123.

Signed-off-by: Norbert Szulc <norbert@icetek.io>

* Update Chart.yaml

Signed-off-by: MH <zanhsieh@gmail.com>

Signed-off-by: MH <zanhsieh@gmail.com>

* Update Chart.yaml

Signed-off-by: MH <zanhsieh@gmail.com>

Signed-off-by: MH <zanhsieh@gmail.com>

---------

Signed-off-by: Norbert Szulc <norbert@icetek.io>
Signed-off-by: MH <zanhsieh@gmail.com>
Co-authored-by: MH <zanhsieh@gmail.com>
  • Loading branch information
not7cd and zanhsieh authored Aug 22, 2024
1 parent a6913a3 commit a07199c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-postgres-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: "v0.15.0"
description: A Helm chart for prometheus postgres-exporter
name: prometheus-postgres-exporter
version: 6.3.0
version: 6.3.1
home: https://github.com/prometheus-community/postgres_exporter
sources:
- https://github.com/prometheus-community/postgres_exporter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
{{- end }}
{{- end }}
containers:
- name: {{ .Chart.Name }}
- name: {{ template "prometheus-postgres-exporter.name" . }}
args:
- "--config.file=/etc/postgres_exporter.yml"
- "--web.listen-address=:{{ .Values.service.targetPort }}"
Expand Down

0 comments on commit a07199c

Please sign in to comment.