File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed
misc/helm-charts/operator/templates
src/orchestratord/src/controller Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 4040 - " --cloud-provider={{ .Values.operator.cloudProvider.type }}"
4141 - " --region={{ .Values.operator.cloudProvider.region }}"
4242 - " --secrets-controller={{ .Values.operator.secretsController }}"
43+ - " --disable-statement-logging"
4344 {{- range $key, $value := include "materialize-operator.selectorLabels" . | fromYaml }}
4445 - " --orchestratord-pod-selector-labels={{ $key }}={{ $value }}"
4546 {{- end }}
Original file line number Diff line number Diff line change @@ -76,6 +76,8 @@ pub struct MaterializeControllerArgs {
7676 enable_security_context : bool ,
7777 #[ clap( long) ]
7878 enable_internal_statement_logging : bool ,
79+ #[ clap( long) ]
80+ disable_statement_logging : bool ,
7981
8082 #[ clap( long) ]
8183 orchestratord_pod_selector_labels : Vec < KeyValueArg < String , String > > ,
Original file line number Diff line number Diff line change @@ -893,6 +893,11 @@ fn create_environmentd_statefulset_object(
893893 if config. enable_internal_statement_logging {
894894 args. push ( "--system-parameter-default=enable_internal_statement_logging=true" . into ( ) ) ;
895895 }
896+
897+ if config. disable_statement_logging {
898+ args. push ( "--system-parameter-default=statement_logging_max_sample_rate=0" . into ( ) ) ;
899+ }
900+
896901 if config. disable_authentication {
897902 args. push ( "--system-parameter-default=enable_rbac_checks=false" . into ( ) ) ;
898903 }
You can’t perform that action at this time.
0 commit comments