Skip to content

Commit

Permalink
[prometheus-json-exporter] Fix ConfigMap name inconsistency
Browse files Browse the repository at this point in the history
Signed-off-by: Giovanni Tirloni <[email protected]>
  • Loading branch information
gtirloni committed Oct 2, 2023
1 parent 3205e45 commit 2a9433b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-json-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.7.1
version: 0.7.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-json-exporter/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Release.Name }}-configmap
name: {{ include "prometheus-json-exporter.fullname" . }}
data:
allow-snippet-annotations: "false"
config.yml: |
Expand Down
2 changes: 1 addition & 1 deletion charts/prometheus-json-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ spec:
volumes:
- name: config-configmap-volume
configMap:
name: {{ .Release.Name }}-configmap
name: {{ include "prometheus-json-exporter.serviceAccountName" . }}
items:
- key: config.yml
path: config.yml
Expand Down

0 comments on commit 2a9433b

Please sign in to comment.