mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 06:58:50 +08:00
Fix rendering of vm_memory_high_watermark param (#22017)
Signed-off-by: Rafael Rios Saavedra <rrios@vmware.com>
This commit is contained in:
committed by
GitHub
parent
ac8624c665
commit
f12f2b229c
@@ -30,4 +30,4 @@ maintainers:
|
||||
name: rabbitmq
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/rabbitmq
|
||||
version: 12.6.2
|
||||
version: 12.6.3
|
||||
|
||||
@@ -386,7 +386,6 @@ tcpListenOptions:
|
||||
|
||||
configuration: |-
|
||||
## Username and password
|
||||
##
|
||||
default_user = {{ .Values.auth.username }}
|
||||
{{- if and (not .Values.auth.securePassword) .Values.auth.password }}
|
||||
default_pass = {{ .Values.auth.password }}
|
||||
@@ -488,7 +487,11 @@ configuration: |-
|
||||
## Memory Threshold
|
||||
##
|
||||
total_memory_available_override_value = {{ include "rabbitmq.toBytes" .Values.resources.limits.memory }}
|
||||
{{- if (eq .Values.memoryHighWatermark.type "absolute") }}
|
||||
vm_memory_high_watermark.{{ .Values.memoryHighWatermark.type }} = {{ include "rabbitmq.toBytes" .Values.memoryHighWatermark.value }}
|
||||
{{- else if (eq .Values.memoryHighWatermark.type "relative") }}
|
||||
vm_memory_high_watermark.{{ .Values.memoryHighWatermark.type }} = {{ .Values.memoryHighWatermark.value }}
|
||||
{{- end }}
|
||||
## TCP Listen Options
|
||||
##
|
||||
tcp_listen_options.backlog = {{ .Values.tcpListenOptions.backlog }}
|
||||
|
||||
Reference in New Issue
Block a user