Skip to content

Commit

Permalink
Update Redis Exporter chart
Browse files Browse the repository at this point in the history
- Update app version from v1.58.0 to v1.61.0
- Set version label correctly when image tag override is set
- Fix deployment annotation indentation

Signed-off-by: Leo Petrazickis <[email protected]>
  • Loading branch information
lpetrazickisupgrade committed Jun 10, 2024
1 parent dc5f3cc commit e421a35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/prometheus-redis-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: v1.58.0
appVersion: v1.61.0
description: Prometheus exporter for Redis metrics
name: prometheus-redis-exporter
version: 6.2.0
version: 6.3.0
home: https://github.com/oliver006/redis_exporter
sources:
- https://github.com/oliver006/redis_exporter
Expand Down
4 changes: 2 additions & 2 deletions charts/prometheus-redis-exporter/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Common labels
helm.sh/chart: {{ include "prometheus-redis-exporter.chart" . }}
{{ include "prometheus-redis-exporter.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- if .Values.customLabels}}
Expand All @@ -74,4 +74,4 @@ Selector labels
{{- define "prometheus-redis-exporter.selectorLabels" -}}
app.kubernetes.io/name: {{ include "prometheus-redis-exporter.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/prometheus-redis-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
labels:
{{ include "prometheus-redis-exporter.labels" . | indent 4 }}
annotations:
{{ toYaml .Values.annotations | indent 8 }}
{{ toYaml .Values.annotations | indent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down

0 comments on commit e421a35

Please sign in to comment.