[bitnami/fluentd] Add feature aggregator.extraVolumeClaimTemplate (#7792)

This commit is contained in:
Miguel Ruiz
2021-10-18 12:03:16 +02:00
committed by GitHub
parent 1da6e0cec6
commit 5800273a2d
4 changed files with 13 additions and 4 deletions

View File

@@ -25,4 +25,4 @@ name: fluentd
sources:
- https://github.com/bitnami/bitnami-docker-fluentd
- https://www.fluentd.org/
version: 4.2.3
version: 4.3.0

View File

@@ -67,8 +67,8 @@ The command removes all the Kubernetes components associated with the chart and
| `clusterDomain` | Cluster Domain | `cluster.local` |
| `extraDeploy` | Array of extra objects to deploy with the release | `[]` |
| `diagnosticMode.enabled` | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | `false` |
| `diagnosticMode.command` | Command to override all containers in the deployment | `["sleep"]` |
| `diagnosticMode.args` | Args to override all containers in the deployment | `["infinity"]` |
| `diagnosticMode.command` | Command to override all containers in the deployment | `[]` |
| `diagnosticMode.args` | Args to override all containers in the deployment | `[]` |
### Fluentd parameters
@@ -231,6 +231,7 @@ The command removes all the Kubernetes components associated with the chart and
| `aggregator.sidecars` | Add sidecars to aggregator pods | `[]` |
| `aggregator.extraVolumes` | Extra volumes | `[]` |
| `aggregator.extraVolumeMounts` | Mount extra volume(s) | `[]` |
| `aggregator.extraVolumeClaimTemplates` | Optionally specify extra list of additional volume claim templates for the Fluentd Aggregator pods in StatefulSet | `[]` |
| `serviceAccount` | Pods Service Account. This top-level global entry is DEPRECATED. Please use "forwarder.serviceAccount" instead. | `{}` |
| `rbac` | Role Based Access. This top-level global entry is DEPRECATED. Please use "forwarder.rbac" instead. | `{}` |
| `metrics.enabled` | Enable the export of Prometheus metrics | `false` |

View File

@@ -164,8 +164,9 @@ spec:
emptyDir: {}
{{- end }}
{{- if .Values.aggregator.persistence.enabled }}
{{- if or .Values.aggregator.persistence.enabled .Values.aggregator.extraVolumeClaimTemplates }}
volumeClaimTemplates:
{{- if or .Values.aggregator.persistence.enabled }}
- metadata:
name: {{ include "common.names.fullname" . }}-buffer
spec:
@@ -174,5 +175,9 @@ spec:
requests:
storage: {{ .Values.aggregator.persistence.size }}
{{- include "common.storage.class" (dict "persistence" .Values.aggregator.persistence "global" .Values.global) | nindent 8 }}
{{- end }}
{{- if .Values.aggregator.extraVolumeClaimTemplates }}
{{- include "common.tplvalues.render" (dict "value" .Values.aggregator.extraVolumeClaimTemplates "context" $) | nindent 4 }}
{{- end }}
{{- end }}
{{- end -}}

View File

@@ -999,6 +999,9 @@ aggregator:
## mountPath: /tmp
##
extraVolumeMounts: []
## @param aggregator.extraVolumeClaimTemplates Optionally specify extra list of additional volume claim templates for the Fluentd Aggregator pods in StatefulSet
##
extraVolumeClaimTemplates: []
## @param serviceAccount Pods Service Account. This top-level global entry is DEPRECATED. Please use "forwarder.serviceAccount" instead.
## Only the forwarder was affected by the historical usage here.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/