Skip to content

Commit

Permalink
[kube-state-metrics] add tpl to deployment template (#4902)
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Zheleznyak <[email protected]>
  • Loading branch information
denzhel authored Oct 12, 2024
1 parent e68c764 commit 0b8dfb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/kube-state-metrics/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords:
- prometheus
- kubernetes
type: application
version: 5.25.1
version: 5.26.0
appVersion: 2.13.0
home: https://github.com/kubernetes/kube-state-metrics/
sources:
Expand Down
8 changes: 4 additions & 4 deletions charts/kube-state-metrics/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,13 @@ spec:
affinity:
{{ toYaml .Values.affinity | indent 8 }}
{{- end }}
{{- if .Values.nodeSelector }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }}
{{ tpl (toYaml .) $ | indent 8 }}
{{- end }}
{{- if .Values.tolerations }}
{{- with .Values.tolerations }}
tolerations:
{{ toYaml .Values.tolerations | indent 8 }}
{{ tpl (toYaml .) $ | indent 8 }}
{{- end }}
{{- if .Values.topologySpreadConstraints }}
topologySpreadConstraints:
Expand Down

0 comments on commit 0b8dfb5

Please sign in to comment.