This commit is contained in:
Kirill Petrov 2025-10-21 15:02:34 +02:00 committed by GitHub
commit b49522d5dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 0 deletions

View File

@ -37,6 +37,10 @@ spec:
- name: {{ .Chart.Name }} - name: {{ .Chart.Name }}
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}" image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.extraArgs }}
args:
{{ toYaml .Values.extraArgs | indent 8 }}
{{- end }}
env: env:
{{- if .Values.enableJsonLogging }} {{- if .Values.enableJsonLogging }}
- name: ENABLE_JSON_LOGGING - name: ENABLE_JSON_LOGGING

View File

@ -18,6 +18,9 @@ configTarget: "OperatorConfigurationCRD"
# JSON logging format # JSON logging format
enableJsonLogging: false enableJsonLogging: false
# Command-line options for the operator
extraArgs: []
# general configuration parameters # general configuration parameters
configGeneral: configGeneral:
# the deployment should create/update the CRDs # the deployment should create/update the CRDs

View File

@ -23,6 +23,12 @@ The following command-line options are supported for the operator:
off can can be overridden by the aforementioned operator configuration off can can be overridden by the aforementioned operator configuration
option. option.
* **-kubeqps**
set the maximum number of Kubernetes API requests per second. Default is 10.
* **-kubeburst**
set the burst limit for Kubernetes API requests, allowing temporary spikes beyond the configured QPS. Default is 20.
In addition to that, standard [glog In addition to that, standard [glog
flags](https://godoc.org/github.com/golang/glog) are also supported. For flags](https://godoc.org/github.com/golang/glog) are also supported. For
instance, one may want to add `-alsologtostderr` and `-v=8` to debug the instance, one may want to add `-alsologtostderr` and `-v=8` to debug the