diff --git a/charts/grafana/Chart.yaml b/charts/grafana/Chart.yaml index 93454051ed..4c5cb35a45 100644 --- a/charts/grafana/Chart.yaml +++ b/charts/grafana/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: grafana -version: 6.20.2 -appVersion: 8.3.3 +version: 6.20.3 +appVersion: 8.3.4 kubeVersion: "^1.8.0-0" description: The leading tool for querying and visualizing time series and metrics. home: https://grafana.net diff --git a/charts/grafana/templates/deployment.yaml b/charts/grafana/templates/deployment.yaml index 1c9ae86381..8dbe5e1074 100644 --- a/charts/grafana/templates/deployment.yaml +++ b/charts/grafana/templates/deployment.yaml @@ -14,7 +14,7 @@ metadata: {{ toYaml . | indent 4 }} {{- end }} spec: - {{- if not .Values.autoscaling.enabled }} + {{- if and (not .Values.autoscaling.enabled) (.Values.replicas) }} replicas: {{ .Values.replicas }} {{- end }} revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}