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: ...@@ -37,9 +37,7 @@ jobs:
run: ct lint run: ct lint
- name: Create kind cluster - name: Create kind cluster
uses: helm/kind-action@v1.0.0 uses: helm/kind-action@v1.2.0
with:
installLocalPathProvisioner: true
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true'
# Our Enterprise chart requires some resources created # Our Enterprise chart requires some resources created
......
...@@ -12,10 +12,9 @@ keywords: ...@@ -12,10 +12,9 @@ keywords:
- influxdb - influxdb
maintainers: maintainers:
- name: gitirabassi - name: wojciechka
email: giacomo@influxdata.com email: wkocjan@influxdata.com
- name: rawkode - name: rawkode
email: rawkode@influxdata.com
kubeVersion: ">= 1.13.0-r0" kubeVersion: ">= 1.13.0-r0"
home: https://github.com/influxdata/telegraf-operator home: https://github.com/influxdata/telegraf-operator
...@@ -31,8 +30,8 @@ type: application ...@@ -31,8 +30,8 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # 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 # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. # incremented each time you make changes to the application.
appVersion: v1.2.0 appVersion: v1.3.0
...@@ -33,6 +33,9 @@ spec: ...@@ -33,6 +33,9 @@ spec:
{{- if eq .Values.requireAnnotationsForSecret true }} {{- if eq .Values.requireAnnotationsForSecret true }}
- "--require-annotations-for-secret" - "--require-annotations-for-secret"
{{- end }} {{- end }}
{{- if eq .Values.hotReload true }}
- "--telegraf-watch-config=inotify"
{{- end }}
env: env:
- name: POD_NAMESPACE - name: POD_NAMESPACE
valueFrom: valueFrom:
......
...@@ -2,7 +2,7 @@ replicaCount: 3 ...@@ -2,7 +2,7 @@ replicaCount: 3
image: image:
repository: quay.io/influxdb/telegraf-operator repository: quay.io/influxdb/telegraf-operator
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
sidecarImage: "docker.io/library/telegraf:1.14.4" sidecarImage: "docker.io/library/telegraf:1.19"
classes: classes:
secretName: "telegraf-operator-classes" secretName: "telegraf-operator-classes"
...@@ -46,3 +46,6 @@ nodeSelector: {} ...@@ -46,3 +46,6 @@ nodeSelector: {}
tolerations: [] tolerations: []
affinity: {} affinity: {}
requireAnnotationsForSecret: false 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