Skip to content

Commit

Permalink
[prometheus-adapter]: fix usage of with for deploymentAnnotations (#2954
Browse files Browse the repository at this point in the history
)

Signed-off-by: Wei Kin Huang <[email protected]>
  • Loading branch information
weikinhuang authored Jan 26, 2023
1 parent 514680d commit 0ebe964
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-adapter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: prometheus-adapter
version: 4.1.0
version: 4.1.1
appVersion: v0.10.0
description: A Helm chart for k8s prometheus adapter
home: https://github.com/kubernetes-sigs/prometheus-adapter
Expand Down
4 changes: 2 additions & 2 deletions charts/prometheus-adapter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ metadata:
{{- if or .Values.customAnnotations .Values.deploymentAnnotations }}
annotations:
{{- with .Values.customAnnotations }}
{{- toYaml .Values.customAnnotations | nindent 4 }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.deploymentAnnotations }}
{{- toYaml .Values.deploymentAnnotations | nindent 4 }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
labels:
Expand Down

0 comments on commit 0ebe964

Please sign in to comment.