mirror of
https://github.com/bitnami/charts.git
synced 2026-02-27 06:48:01 +08:00
[bitnami/fluentd] feat: render extra volumes and volume mounts (#21770)
Signed-off-by: Max Nitze <max.nitze@mgm-tp.com> Co-authored-by: Max Nitze <max.nitze@mgm-tp.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.9.12
|
||||
version: 5.10.0
|
||||
|
||||
@@ -200,15 +200,12 @@ spec:
|
||||
mountPath: /docker-entrypoint-initdb.d/init-scripts-secret
|
||||
{{- end }}
|
||||
{{- if .Values.aggregator.extraVolumeMounts }}
|
||||
{{- toYaml .Values.aggregator.extraVolumeMounts | nindent 12 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.aggregator.extraVolumeMounts "context" $ ) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.aggregator.sidecars }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.aggregator.sidecars "context" $ ) | nindent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if .Values.aggregator.extraVolumes }}
|
||||
{{- toYaml .Values.aggregator.extraVolumes | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.tls.enabled }}
|
||||
- name: fluentd-aggregator-certificates
|
||||
secret:
|
||||
@@ -238,6 +235,9 @@ spec:
|
||||
secretName: {{ template "fluentd.aggregator.initScriptsSecret" . }}
|
||||
defaultMode: 0755
|
||||
{{- end }}
|
||||
{{- if .Values.aggregator.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.aggregator.extraVolumes "context" $ ) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
{{- if or .Values.aggregator.persistence.enabled .Values.aggregator.extraVolumeClaimTemplates }}
|
||||
volumeClaimTemplates:
|
||||
|
||||
@@ -201,15 +201,12 @@ spec:
|
||||
mountPath: /var/lib/docker/containers
|
||||
readOnly: true
|
||||
{{- if .Values.forwarder.extraVolumeMounts }}
|
||||
{{- toYaml .Values.forwarder.extraVolumeMounts | nindent 12 }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.forwarder.extraVolumeMounts "context" $ ) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.forwarder.sidecars }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.forwarder.sidecars "context" $ ) | nindent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if .Values.forwarder.extraVolumes }}
|
||||
{{- toYaml .Values.forwarder.extraVolumes | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.tls.enabled }}
|
||||
- name: fluentd-forwarder-certificates
|
||||
secret:
|
||||
@@ -250,4 +247,7 @@ spec:
|
||||
- name: varlibdockercontainers
|
||||
hostPath:
|
||||
path: /var/lib/docker/containers
|
||||
{{- if .Values.forwarder.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" ( dict "value" .Values.forwarder.extraVolumes "context" $ ) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user