Skip to content

Commit

Permalink
feat: add support for disabling the flag --enable-default-internal-pl…
Browse files Browse the repository at this point in the history
…ugin
  • Loading branch information
paulojmdias authored Mar 12, 2024
1 parent 218e6bd commit 4cb9889
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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 4cb9889

Please sign in to comment.