File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : monitoring
33description : Helm chart for Prometheus
44type : application
5- version : 0.4.1
5+ version : 0.4.2
66dependencies :
77- name : kube-prometheus-stack
88 version : 69.8.2
Original file line number Diff line number Diff line change 1010 kind : {{ $vpaAppConfig.kind }}
1111 name : {{ if eq $vpaAppName "prometheus" }}{{ $vpaAppName }}-{{ template "monitoring.fullname" $ }}-{{ $vpaAppName }}{{ else }}{{ template "monitoring.fullname" $ }}-{{ $vpaAppName }}{{- end }}
1212 updatePolicy :
13- updateMode : {{ $vpaAppConfig.mode | default "Auto" }}
14- minReplicas : {{ $vpaAppConfig.minReplicas | default "1" }}
13+ updateMode : {{ $vpaAppConfig.mode | default "Off" | quote }}
14+ {{ if $vpaAppConfig.minReplicas }}
15+ minReplicas : {{ $vpaAppConfig.minReplicas }}
16+ {{- end }}
1517---
1618{{- end }}
1719{{- end }}
Original file line number Diff line number Diff line change @@ -125,4 +125,3 @@ vpaApps:
125125 kind : Deployment
126126 prometheus-node-exporter :
127127 kind : DaemonSet
128- minReplicas : 2
You can’t perform that action at this time.
0 commit comments