mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 07:57:27 +02:00
Add support for passing extra command-line args via Helm values (#2892)
* Add support for passing extra command-line args to the operator via Helm values This change introduces the ability to specify additional command-line arguments for the Postgres Operator via the "extraArgs" field in values.yaml. Documentation has been updated with details on new arguments "-kubeqps" and "-kubeburst" added before: https://github.com/zalando/postgres-operator/pull/2667. The chart version is bumped to 1.14.1 to reflect these changes. * reverted charts/postgres-operator/Chart.yaml --------- Co-authored-by: k.s.petrov <k.s.petrov@2gis.ru> Co-authored-by: Felix Kunde <felix-kunde@gmx.de>
This commit is contained in:
co-authored by
k.s.petrov
Felix Kunde
parent
f988e4cf0e
commit
5fb654f5f7
@@ -37,6 +37,10 @@ spec:
|
||||
- name: {{ .Chart.Name }}
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- if .Values.extraArgs }}
|
||||
args:
|
||||
{{ toYaml .Values.extraArgs | indent 8 }}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- if .Values.enableJsonLogging }}
|
||||
- name: ENABLE_JSON_LOGGING
|
||||
|
||||
@@ -18,6 +18,9 @@ configTarget: "OperatorConfigurationCRD"
|
||||
# JSON logging format
|
||||
enableJsonLogging: false
|
||||
|
||||
# Command-line options for the operator
|
||||
extraArgs: []
|
||||
|
||||
# general configuration parameters
|
||||
configGeneral:
|
||||
# the deployment should create/update the CRDs
|
||||
|
||||
Reference in New Issue
Block a user