Skip to content

Commit

Permalink
[prometheus-snmp-exporter] make strategy configurable
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Gaiser <[email protected]>
  • Loading branch information
sebastiangaiser committed Feb 23, 2024
1 parent 1ab1aea commit 803234c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-snmp-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Prometheus SNMP Exporter
name: prometheus-snmp-exporter
version: 2.0.0
version: 2.1.0
appVersion: v0.21.0
home: https://github.com/prometheus/snmp_exporter
sources:
Expand Down
5 changes: 1 addition & 4 deletions charts/prometheus-snmp-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ spec:
matchLabels:
{{- include "prometheus-snmp-exporter.selectorLabels" . | indent 6 }}
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate
{{ toYaml .Values.strategy | indent 4 }}
template:
metadata:
labels:
Expand Down
6 changes: 6 additions & 0 deletions charts/prometheus-snmp-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,9 @@ extraManifests: []
# name: prometheus-extra
# data:
# extra-data: "value"

strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
type: RollingUpdate

0 comments on commit 803234c

Please sign in to comment.