Skip to content

Commit

Permalink
Merge pull request #907 from sylr/grafana-no-replicas
Browse files Browse the repository at this point in the history
[grafana] Only specify replicas if given a value
  • Loading branch information
zanhsieh committed Dec 17, 2021
2 parents 47225ae + b5ffe90 commit 9e09ca6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions 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
Expand Down
2 changes: 1 addition & 1 deletion charts/grafana/templates/deployment.yaml
Expand Up @@ -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 }}
Expand Down

0 comments on commit 9e09ca6

Please sign in to comment.