Skip to content

Commit

Permalink
[kube-state-metrics] fix: default kube-state-metrics resources to emp…
Browse files Browse the repository at this point in the history
…ty (#4619)

* [kube-state-metrics] fix: default kube-state-metrics resources to empty
Signed-off-by: smcavallo <[email protected]>
  • Loading branch information
smcavallo authored Jun 23, 2024
1 parent 8b9a537 commit efa4f84
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 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.20.0
version: 5.20.1
appVersion: 2.12.0
home: https://github.com/kubernetes/kube-state-metrics/
sources:
Expand Down
2 changes: 0 additions & 2 deletions charts/kube-state-metrics/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,8 @@ spec:
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
successThreshold: {{ .Values.readinessProbe.successThreshold }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
{{- if .Values.resources }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- end }}
{{- if .Values.containerSecurityContext }}
securityContext:
{{ toYaml .Values.containerSecurityContext | indent 10 }}
Expand Down

0 comments on commit efa4f84

Please sign in to comment.