Skip to content

Commit

Permalink
feat: [telegraf-operator] add support for disabling the flag --enable…
Browse files Browse the repository at this point in the history
…-default-internal-plugin (#630)
  • Loading branch information
paulojmdias authored Mar 20, 2024
1 parent c7232e8 commit 56ef1ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/telegraf-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ 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.3.12
version: 1.4.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.
Expand Down
2 changes: 2 additions & 0 deletions charts/telegraf-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ spec:
args:
- "--telegraf-default-class={{ .Values.classes.default }}"
- --telegraf-classes-directory=/etc/telegraf-operator
{{- if eq .Values.enableDefaultInternalPlugin true }}
- --enable-default-internal-plugin
{{- end }}
- "--telegraf-image={{ .Values.image.sidecarImage }}"
{{- if eq .Values.requireAnnotationsForSecret true }}
- "--require-annotations-for-secret"
Expand Down
1 change: 1 addition & 0 deletions charts/telegraf-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ nodeSelector: {}
tolerations: []
affinity: {}
requireAnnotationsForSecret: false
enableDefaultInternalPlugin: true
# allow hot reload ; disabled by default to support versions of telegraf
# that do not support hot-reload and --watch-config flag
hotReload: false

0 comments on commit 56ef1ef

Please sign in to comment.