criblio / helm-charts

Repository for Cribl Helm Charts
MIT License
35 stars 39 forks source link

Avoid .git ownership problems #59

Closed bieron closed 1 year ago

bieron commented 2 years ago

https://github.blog/2022-04-18-highlights-from-git-2-36/

Beginning in Git 2.35.2, Git changed its default behavior to prevent you from executing git commands in a repository owned by a different user than the current one. This is designed to prevent git invocations from unintentionally executing commands which the repository owner configured.

bdalpe commented 2 years ago

If securityContext is set, we should chown $CRIBL_VOLUME_DIR to avoid issues.

Not the correct way of handing this.