vectordotdev / helm-charts

Helm charts for Vector.
https://vector.dev
Mozilla Public License 2.0
113 stars 90 forks source link

Add 'downwardAPI' to PodSecurityPolicy #315

Open dvishniakov opened 1 year ago

dvishniakov commented 1 year ago

In order to use pod's own info in Vector's config, downwardAPI should be allowed in PSP. For example, to use pod's name as part of the S3 object key.

Here: https://github.com/vectordotdev/helm-charts/blob/develop/charts/vector-agent/templates/podsecuritypolicy.yaml#L13-L14