mirror of
https://github.com/bitnami/charts.git
synced 2026-03-09 07:27:18 +08:00
[bitnami/fluentd] add extra gems extensions volume (#22759)
* add extra gems extensions volume Signed-off-by: gulecroc <gu.lecroc@gmail.com> * Update Chart version Signed-off-by: gulecroc <gu.lecroc@gmail.com> --------- Signed-off-by: gulecroc <gu.lecroc@gmail.com>
This commit is contained in:
@@ -30,4 +30,4 @@ maintainers:
|
||||
name: fluentd
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/fluentd
|
||||
version: 5.14.2
|
||||
version: 5.15.0
|
||||
|
||||
@@ -93,12 +93,15 @@ spec:
|
||||
{{- end }}
|
||||
|
||||
# copy installed gems to shared dir
|
||||
cp -r /opt/bitnami/fluentd/extensions/* /extensions/
|
||||
cp -r /opt/bitnami/fluentd/gems/* /gems/
|
||||
cp -r /opt/bitnami/fluentd/specifications/* /specifications/
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
runAsUser: 0
|
||||
volumeMounts:
|
||||
- name: extensions
|
||||
mountPath: /extensions
|
||||
- name: gems
|
||||
mountPath: /gems
|
||||
- name: specifications
|
||||
@@ -217,6 +220,8 @@ spec:
|
||||
mountPath: /opt/bitnami/fluentd/logs/buffers
|
||||
{{- end }}
|
||||
{{- if .Values.aggregator.extraGems }}
|
||||
- name: extensions
|
||||
mountPath: /opt/bitnami/fluentd/extensions/
|
||||
- name: gems
|
||||
mountPath: /opt/bitnami/fluentd/gems/
|
||||
- name: specifications
|
||||
@@ -260,6 +265,8 @@ spec:
|
||||
emptyDir: {}
|
||||
{{- end }}
|
||||
{{- if .Values.aggregator.extraGems }}
|
||||
- name: extensions
|
||||
emptyDir: {}
|
||||
- name: gems
|
||||
emptyDir: {}
|
||||
- name: specifications
|
||||
|
||||
Reference in New Issue
Block a user