Unverified Commit 56ef1efc authored by Paulo Dias's avatar Paulo Dias Committed by GitHub

feat: [telegraf-operator] add support for disabling the flag…

feat: [telegraf-operator] add support for disabling the flag --enable-default-internal-plugin (#630)
parent c7232e87
...@@ -30,7 +30,7 @@ type: application ...@@ -30,7 +30,7 @@ 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.3.12 version: 1.4.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.
......
...@@ -28,7 +28,9 @@ spec: ...@@ -28,7 +28,9 @@ spec:
args: args:
- "--telegraf-default-class={{ .Values.classes.default }}" - "--telegraf-default-class={{ .Values.classes.default }}"
- --telegraf-classes-directory=/etc/telegraf-operator - --telegraf-classes-directory=/etc/telegraf-operator
{{- if eq .Values.enableDefaultInternalPlugin true }}
- --enable-default-internal-plugin - --enable-default-internal-plugin
{{- end }}
- "--telegraf-image={{ .Values.image.sidecarImage }}" - "--telegraf-image={{ .Values.image.sidecarImage }}"
{{- if eq .Values.requireAnnotationsForSecret true }} {{- if eq .Values.requireAnnotationsForSecret true }}
- "--require-annotations-for-secret" - "--require-annotations-for-secret"
......
...@@ -53,6 +53,7 @@ nodeSelector: {} ...@@ -53,6 +53,7 @@ nodeSelector: {}
tolerations: [] tolerations: []
affinity: {} affinity: {}
requireAnnotationsForSecret: false requireAnnotationsForSecret: false
enableDefaultInternalPlugin: true
# allow hot reload ; disabled by default to support versions of telegraf # allow hot reload ; disabled by default to support versions of telegraf
# that do not support hot-reload and --watch-config flag # that do not support hot-reload and --watch-config flag
hotReload: false 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