[bitnami/metallb] Allow overriding speaker log level from values (#17996)

* Allow overriding speaker log level from values

Signed-off-by: test <bert@transtrend.com>

* Increment chart version

Signed-off-by: test <bert@transtrend.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Add controller log level as well

Signed-off-by: test <bert@transtrend.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Increment minor version

Co-authored-by: Celia Garcia <61272496+CeliaGMqrz@users.noreply.github.com>
Signed-off-by: bh-tt <71650427+bh-tt@users.noreply.github.com>

---------

Signed-off-by: test <bert@transtrend.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: bh-tt <71650427+bh-tt@users.noreply.github.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Celia Garcia <61272496+CeliaGMqrz@users.noreply.github.com>
This commit is contained in:
bh-tt
2023-08-02 11:08:21 +02:00
committed by GitHub
parent 13a5749b2c
commit fefbd62a75
5 changed files with 12 additions and 2 deletions

View File

@@ -30,4 +30,4 @@ maintainers:
name: metallb
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/metallb
version: 4.5.7
version: 4.6.0

View File

@@ -162,6 +162,7 @@ The command removes all the Kubernetes components associated with the chart and
| `controller.customStartupProbe` | Custom liveness probe for the Web component | `{}` |
| `controller.customLivenessProbe` | Custom liveness probe for the Web component | `{}` |
| `controller.customReadinessProbe` | Custom readiness probe for the Web component | `{}` |
| `controller.logLevel` | Sets the controller log level. Does not work if the args are overridden | `info` |
### Metallb controller Prometheus metrics export
@@ -257,6 +258,7 @@ The command removes all the Kubernetes components associated with the chart and
| `speaker.customStartupProbe` | Custom liveness probe for the Web component | `{}` |
| `speaker.customLivenessProbe` | Custom liveness probe for the Web component | `{}` |
| `speaker.customReadinessProbe` | Custom readiness probe for the Web component | `{}` |
| `speaker.logLevel` | Sets the speaker log level. Does not work if the args are overridden | `info` |
### Speaker Prometheus metrics export

View File

@@ -95,6 +95,7 @@ spec:
args:
- --port={{ .Values.controller.containerPorts.metrics }}
- --cert-service-name=metallb-webhook-service
- --log-level={{ .Values.controller.logLevel }}
{{- end }}
{{- if .Values.controller.lifecycleHooks }}
lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.controller.lifecycleHooks "context" $) | nindent 12 }}

View File

@@ -88,6 +88,7 @@ spec:
{{- else }}
args:
- --port={{ .Values.speaker.containerPorts.metrics }}
- --log-level={{ .Values.speaker.logLevel }}
{{- end }}
{{- if .Values.speaker.lifecycleHooks }}
lifecycle: {{- include "common.tplvalues.render" (dict "value" .Values.speaker.lifecycleHooks "context" $) | nindent 12 }}

View File

@@ -387,6 +387,10 @@ controller:
##
customReadinessProbe: {}
## @param controller.logLevel Sets the controller log level. Does not work if the args are overridden
##
logLevel: "info"
## @section Metallb controller Prometheus metrics export
##
metrics:
@@ -746,7 +750,9 @@ speaker:
## @param speaker.customReadinessProbe Custom readiness probe for the Web component
##
customReadinessProbe: {}
## @param speaker.logLevel Sets the speaker log level. Does not work if the args are overridden
##
logLevel: "info"
## @section Speaker Prometheus metrics export
metrics:
## @param speaker.metrics.enabled Enable the export of Prometheus metrics