Unverified Commit 6312426f authored by Wojciech Kocjan's avatar Wojciech Kocjan Committed by GitHub

feat(telegraf-operator): add optional --require-annotations-for-secret flag (#216)

* feat(telegraf-operator): add optional --require-annotations-for-secret flag * chore: update if condition * chore: bump version
parent 2ac3dfd8
......@@ -31,7 +31,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.1.3
version: 1.1.4
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
......
......@@ -30,6 +30,9 @@ spec:
- --telegraf-classes-directory=/etc/telegraf-operator
- --enable-default-internal-plugin
- "--telegraf-image={{ .Values.image.sidecarImage }}"
{{- if eq .Values.requireAnnotationsForSecret true }}
- "--require-annotations-for-secret"
{{- end }}
env:
- name: POD_NAMESPACE
valueFrom:
......
......@@ -45,3 +45,4 @@ resources:
nodeSelector: {}
tolerations: []
affinity: {}
requireAnnotationsForSecret: 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