mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kube-state-metrics] Avoid spec.template.spec.containers.0.resources with null value (#17817)
Signed-off-by: ayoub mrini <amrini@wiremind.fr>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d05199b364
commit
09daf199ae
@@ -6,7 +6,7 @@ keywords:
|
||||
- monitoring
|
||||
- prometheus
|
||||
- kubernetes
|
||||
version: 2.4.0
|
||||
version: 2.4.1
|
||||
appVersion: 1.8.0
|
||||
home: https://github.com/kubernetes/kube-state-metrics/
|
||||
sources:
|
||||
|
||||
@@ -132,9 +132,10 @@ spec:
|
||||
port: 8080
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 5
|
||||
|
||||
{{- if .Values.resources }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
{{ toYaml .Values.resources | indent 10 }}
|
||||
{{- end }}
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user