Unverified Commit f5ab001d authored by eacherkan-aternity's avatar eacherkan-aternity Committed by GitHub

Telegraf-DS: parametrize the pod's SecurityContext (#409)

parent f1fde8a3
apiVersion: v1 apiVersion: v1
name: telegraf-ds name: telegraf-ds
version: 1.0.27 version: 1.0.28
appVersion: 1.21.1 appVersion: 1.21.1
deprecated: false deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics. description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
...@@ -83,3 +83,7 @@ spec: ...@@ -83,3 +83,7 @@ spec:
dnsConfig: dnsConfig:
{{ toYaml . | indent 8 }} {{ toYaml . | indent 8 }}
{{- end }} {{- end }}
{{- with .Values.podSecurityContext }}
securityContext:
{{ toYaml . | indent 8 }}
{{- end }}
\ No newline at end of file
...@@ -84,6 +84,9 @@ serviceAccount: ...@@ -84,6 +84,9 @@ serviceAccount:
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ ## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
# priorityClassName: system-node-critical # priorityClassName: system-node-critical
# Specify the pod's SecurityContext, including the OS user and group to run the pod
podSecurityContext: {}
override_config: override_config:
toml: ~ toml: ~
# Provide a literal TOML config # Provide a literal TOML config
......
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