mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +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
|
name: fluentd
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/bitnami/charts/tree/main/bitnami/fluentd
|
- https://github.com/bitnami/charts/tree/main/bitnami/fluentd
|
||||||
version: 5.14.2
|
version: 5.15.0
|
||||||
|
|||||||
@@ -93,12 +93,15 @@ spec:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
# copy installed gems to shared dir
|
# 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/gems/* /gems/
|
||||||
cp -r /opt/bitnami/fluentd/specifications/* /specifications/
|
cp -r /opt/bitnami/fluentd/specifications/* /specifications/
|
||||||
securityContext:
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
- name: extensions
|
||||||
|
mountPath: /extensions
|
||||||
- name: gems
|
- name: gems
|
||||||
mountPath: /gems
|
mountPath: /gems
|
||||||
- name: specifications
|
- name: specifications
|
||||||
@@ -217,6 +220,8 @@ spec:
|
|||||||
mountPath: /opt/bitnami/fluentd/logs/buffers
|
mountPath: /opt/bitnami/fluentd/logs/buffers
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.aggregator.extraGems }}
|
{{- if .Values.aggregator.extraGems }}
|
||||||
|
- name: extensions
|
||||||
|
mountPath: /opt/bitnami/fluentd/extensions/
|
||||||
- name: gems
|
- name: gems
|
||||||
mountPath: /opt/bitnami/fluentd/gems/
|
mountPath: /opt/bitnami/fluentd/gems/
|
||||||
- name: specifications
|
- name: specifications
|
||||||
@@ -260,6 +265,8 @@ spec:
|
|||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.aggregator.extraGems }}
|
{{- if .Values.aggregator.extraGems }}
|
||||||
|
- name: extensions
|
||||||
|
emptyDir: {}
|
||||||
- name: gems
|
- name: gems
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: specifications
|
- name: specifications
|
||||||
|
|||||||
Reference in New Issue
Block a user