Set sticky bit for tmp

tmp is an emptyDir volume mount with 0777 permissions. Some versions
of Ruby require the sticky bit to be set.

Change-Id: Ib6f4daa2068e7b29c62b5858848774b7117f6808
This commit is contained in:
Ritchie, Frank (fr801x) 2022-11-18 11:27:57 -05:00
parent d09cae73be
commit f28a6ce288
3 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v1.10.1 appVersion: v1.10.1
description: OpenStack-Helm Fluentd description: OpenStack-Helm Fluentd
name: fluentd name: fluentd
version: 0.1.8 version: 0.1.9
home: https://www.fluentd.org/ home: https://www.fluentd.org/
sources: sources:
- https://github.com/fluent/fluentd - https://github.com/fluent/fluentd

View File

@ -18,6 +18,7 @@ set -ex
COMMAND="${@:-start}" COMMAND="${@:-start}"
function start () { function start () {
chmod 1777 /tmp
exec fluentd -c /fluentd/etc/main.conf exec fluentd -c /fluentd/etc/main.conf
} }

View File

@ -9,4 +9,5 @@ fluentd:
- 0.1.6 Update htk requirements - 0.1.6 Update htk requirements
- 0.1.7 Update default image values to Wallaby - 0.1.7 Update default image values to Wallaby
- 0.1.8 Added OCI registry authentication - 0.1.8 Added OCI registry authentication
- 0.1.9 Set sticky bit for tmp
... ...