Unverified Commit bf307577 authored by Wojciech Kocjan's avatar Wojciech Kocjan Committed by GitHub

feat: add hotReload to telegraf-operator ; bump versions (#355)

parent 847f9a68
......@@ -37,9 +37,7 @@ jobs:
run: ct lint
- name: Create kind cluster
uses: helm/kind-action@v1.0.0
with:
installLocalPathProvisioner: true
uses: helm/kind-action@v1.2.0
if: steps.list-changed.outputs.changed == 'true'
# Our Enterprise chart requires some resources created
......
......@@ -12,10 +12,9 @@ keywords:
- influxdb
maintainers:
- name: gitirabassi
email: giacomo@influxdata.com
- name: wojciechka
email: wkocjan@influxdata.com
- name: rawkode
email: rawkode@influxdata.com
kubeVersion: ">= 1.13.0-r0"
home: https://github.com/influxdata/telegraf-operator
......@@ -31,8 +30,8 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.2.0
version: 1.3.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: v1.2.0
appVersion: v1.3.0
......@@ -33,6 +33,9 @@ spec:
{{- if eq .Values.requireAnnotationsForSecret true }}
- "--require-annotations-for-secret"
{{- end }}
{{- if eq .Values.hotReload true }}
- "--telegraf-watch-config=inotify"
{{- end }}
env:
- name: POD_NAMESPACE
valueFrom:
......
......@@ -2,7 +2,7 @@ replicaCount: 3
image:
repository: quay.io/influxdb/telegraf-operator
pullPolicy: IfNotPresent
sidecarImage: "docker.io/library/telegraf:1.14.4"
sidecarImage: "docker.io/library/telegraf:1.19"
classes:
secretName: "telegraf-operator-classes"
......@@ -46,3 +46,6 @@ nodeSelector: {}
tolerations: []
affinity: {}
requireAnnotationsForSecret: false
# allow hot reload ; disabled by default to support versions of telegraf
# that do not support hot-reload and --watch-config flag
hotReload: false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment