mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/fluentd] feat: ✨ 🔒 Add resource preset support (#23450)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
committed by
GitHub
parent
018d8abb41
commit
6b4d7c60d4
@@ -53,3 +53,4 @@ In order to replicate the container startup scripts execute this command:
|
||||
|
||||
{{- include "fluentd.validateValues" . }}
|
||||
{{- include "fluentd.checkRollingTags" . -}}
|
||||
{{- include "common.warnings.resources" (dict "sections" (list "aggregator" "forwarder") "context" $) }}
|
||||
|
||||
@@ -153,6 +153,8 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.aggregator.resources }}
|
||||
resources: {{- toYaml .Values.aggregator.resources | nindent 12 }}
|
||||
{{- else if ne .Values.aggregator.resourcesPreset "none" }}
|
||||
resources: {{- include "common.resources.preset" (dict "type" .Values.aggregator.resourcesPreset) | nindent 12 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
{{- if .Values.aggregator.port }}
|
||||
|
||||
@@ -151,6 +151,8 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.forwarder.resources }}
|
||||
resources: {{- toYaml .Values.forwarder.resources | nindent 12 }}
|
||||
{{- else if ne .Values.forwarder.resourcesPreset "none" }}
|
||||
resources: {{- include "common.resources.preset" (dict "type" .Values.forwarder.resourcesPreset) | nindent 12 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
{{- if .Values.forwarder.containerPorts }}
|
||||
|
||||
Reference in New Issue
Block a user