1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 10:04:25 +00:00

feat: add verbosity level in helm chart values ()

* feat: add verbosity level in helm chart values

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* codegen

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-04-17 13:51:43 +02:00 committed by GitHub
parent 76d1b37e68
commit b9ee8bf984
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 22 additions and 0 deletions
charts/kyverno
README.md
templates
admission-controller
background-controller
cleanup-controller
reports-controller
values.yaml
config

View file

@ -311,6 +311,7 @@ The chart values are organised per component.
| admissionController.tracing.port | string | `nil` | Traces receiver port |
| admissionController.tracing.creds | string | `""` | Traces receiver credentials |
| admissionController.logging.format | string | `"text"` | Logging format |
| admissionController.logging.verbosity | int | `2` | Logging verbosity |
| admissionController.metering.disabled | bool | `false` | Disable metrics export |
| admissionController.metering.config | string | `"prometheus"` | Otel configuration, can be `prometheus` or `grpc` |
| admissionController.metering.port | int | `8000` | Prometheus endpoint port |
@ -369,6 +370,7 @@ The chart values are organised per component.
| backgroundController.tracing.port | string | `nil` | Traces receiver port |
| backgroundController.tracing.creds | string | `""` | Traces receiver credentials |
| backgroundController.logging.format | string | `"text"` | Logging format |
| backgroundController.logging.verbosity | int | `2` | Logging verbosity |
| backgroundController.metering.disabled | bool | `false` | Disable metrics export |
| backgroundController.metering.config | string | `"prometheus"` | Otel configuration, can be `prometheus` or `grpc` |
| backgroundController.metering.port | int | `8000` | Prometheus endpoint port |
@ -435,6 +437,7 @@ The chart values are organised per component.
| cleanupController.tracing.port | string | `nil` | Traces receiver port |
| cleanupController.tracing.creds | string | `""` | Traces receiver credentials |
| cleanupController.logging.format | string | `"text"` | Logging format |
| cleanupController.logging.verbosity | int | `2` | Logging verbosity |
| cleanupController.metering.disabled | bool | `false` | Disable metrics export |
| cleanupController.metering.config | string | `"prometheus"` | Otel configuration, can be `prometheus` or `grpc` |
| cleanupController.metering.port | int | `8000` | Prometheus endpoint port |
@ -495,6 +498,7 @@ The chart values are organised per component.
| reportsController.tracing.port | string | `nil` | Traces receiver port |
| reportsController.tracing.creds | string | `nil` | Traces receiver credentials |
| reportsController.logging.format | string | `"text"` | Logging format |
| reportsController.logging.verbosity | int | `2` | Logging verbosity |
| reportsController.metering.disabled | bool | `false` | Disable metrics export |
| reportsController.metering.config | string | `"prometheus"` | Otel configuration, can be `prometheus` or `grpc` |
| reportsController.metering.port | int | `8000` | Prometheus endpoint port |

View file

@ -82,6 +82,7 @@ spec:
imagePullPolicy: {{ default .Values.admissionController.container.image.pullPolicy .Values.admissionController.initContainer.image.pullPolicy }}
args:
- --loggingFormat={{ .Values.admissionController.logging.format }}
- --v={{ .Values.admissionController.logging.verbosity }}
{{- range $key, $value := .Values.admissionController.initContainer.extraArgs }}
{{- if $value }}
- --{{ $key }}={{ $value }}
@ -122,6 +123,7 @@ spec:
- --backgroundServiceAccountName='system:serviceaccount:{{ include "kyverno.namespace" . }}:{{ include "kyverno.background-controller.serviceAccountName" . }}'
- --servicePort={{ .Values.admissionController.service.port }}
- --loggingFormat={{ .Values.admissionController.logging.format }}
- --v={{ .Values.admissionController.logging.verbosity }}
{{- if .Values.admissionController.tracing.enabled }}
- --enableTracing
- --tracingAddress={{ .Values.admissionController.tracing.address }}

View file

@ -80,6 +80,7 @@ spec:
protocol: TCP
args:
- --loggingFormat={{ .Values.backgroundController.logging.format }}
- --v={{ .Values.backgroundController.logging.verbosity }}
{{- if .Values.backgroundController.tracing.enabled }}
- --enableTracing
- --tracingAddress={{ .Values.backgroundController.tracing.address }}

View file

@ -81,6 +81,7 @@ spec:
args:
- --servicePort={{ .Values.cleanupController.service.port }}
- --loggingFormat={{ .Values.cleanupController.logging.format }}
- --v={{ .Values.cleanupController.logging.verbosity }}
{{- if .Values.cleanupController.tracing.enabled }}
- --enableTracing
- --tracingAddress={{ .Values.cleanupController.tracing.address }}

View file

@ -80,6 +80,7 @@ spec:
protocol: TCP
args:
- --loggingFormat={{ .Values.reportsController.logging.format }}
- --v={{ .Values.reportsController.logging.verbosity }}
{{- if .Values.reportsController.tracing.enabled }}
- --enableTracing
- --tracingAddress={{ .Values.reportsController.tracing.address }}

View file

@ -637,6 +637,8 @@ admissionController:
logging:
# -- Logging format
format: text
# -- Logging verbosity
verbosity: 2
metering:
# -- Disable metrics export
@ -895,6 +897,8 @@ cleanupController:
logging:
# -- Logging format
format: text
# -- Logging verbosity
verbosity: 2
metering:
# -- Disable metrics export
@ -1149,6 +1153,8 @@ reportsController:
logging:
# -- Logging format
format: text
# -- Logging verbosity
verbosity: 2
metering:
# -- Disable metrics export
@ -1352,6 +1358,8 @@ backgroundController:
logging:
# -- Logging format
format: text
# -- Logging verbosity
verbosity: 2
metering:
# -- Disable metrics export

View file

@ -34697,6 +34697,7 @@ spec:
imagePullPolicy: IfNotPresent
args:
- --loggingFormat=text
- --v=2
resources:
limits:
cpu: 100m
@ -34735,6 +34736,7 @@ spec:
- --backgroundServiceAccountName='system:serviceaccount:kyverno:kyverno-background-controller'
- --servicePort=443
- --loggingFormat=text
- --v=2
- --disableMetrics=false
- --otelConfig=prometheus
- --metricsPort=8000
@ -34873,6 +34875,7 @@ spec:
protocol: TCP
args:
- --loggingFormat=text
- --v=2
- --disableMetrics=false
- --otelConfig=prometheus
- --metricsPort=8000
@ -34961,6 +34964,7 @@ spec:
args:
- --servicePort=443
- --loggingFormat=text
- --v=2
- --disableMetrics=false
- --otelConfig=prometheus
- --metricsPort=8000
@ -35078,6 +35082,7 @@ spec:
protocol: TCP
args:
- --loggingFormat=text
- --v=2
- --disableMetrics=false
- --otelConfig=prometheus
- --metricsPort=8000