[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:
machine424
2019-10-09 09:53:51 -07:00
committed by Kubernetes Prow Robot
parent d05199b364
commit 09daf199ae
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -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 }}