diff --git a/charts/telegraf/Chart.yaml b/charts/telegraf/Chart.yaml index a7eb43d6..0a8e7ea2 100755 --- a/charts/telegraf/Chart.yaml +++ b/charts/telegraf/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: telegraf -version: 1.8.65 -appVersion: 1.36.4 +version: 1.8.66 +appVersion: 1.36.5 deprecated: false description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. keywords: diff --git a/charts/telegraf/templates/pdb.yaml b/charts/telegraf/templates/pdb.yaml index 8736293f..9bd32444 100644 --- a/charts/telegraf/templates/pdb.yaml +++ b/charts/telegraf/templates/pdb.yaml @@ -10,6 +10,9 @@ metadata: labels: {{- include "telegraf.labels" . | nindent 4 }} spec: + {{- if .Values.pdb.unhealthyPodEvictionPolicy }} + unhealthyPodEvictionPolicy: {{ .Values.pdb.unhealthyPodEvictionPolicy }} + {{- end }} {{- if .Values.pdb.minAvailable }} minAvailable: {{ .Values.pdb.minAvailable }} {{- end }} diff --git a/charts/telegraf/values.yaml b/charts/telegraf/values.yaml index ebb574f9..5c63e02c 100644 --- a/charts/telegraf/values.yaml +++ b/charts/telegraf/values.yaml @@ -192,6 +192,7 @@ pdb: create: true minAvailable: 1 # maxUnavailable: 1 + # unhealthyPodEvictionPolicy: "AlwaysAllow" # containerPorts: # - name: http # containerPort: 9273