File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 416416 - " --experimental.fastProxy.debug"
417417 {{- end }}
418418 {{- end }}
419+ {{- if .Values.experimental.otlpLogs }}
420+ - " --experimental.otlpLogs=true"
421+ {{- end }}
419422 {{- range $pluginName , $plugin := .Values.experimental.plugins }}
420423 {{- if or (ne (typeOf $plugin ) " map[string]interface {}" ) (not (hasKey $plugin " moduleName" )) (not (hasKey $plugin " version" )) }}
421424 {{- fail (printf " ERROR: plugin %s is missing moduleName/version keys !" $pluginName ) }}
Original file line number Diff line number Diff line change @@ -1139,3 +1139,16 @@ tests:
11391139 - contains :
11401140 path : spec.template.spec.containers[0].args
11411141 content : " --hub.pluginregistry.sources.plugin2.github.token=ghp_xxxxxxxxxxxxxxxxxxxx"
1142+ - it : should enable experimental otlpLogs when specified
1143+ set :
1144+ experimental :
1145+ otlpLogs : true
1146+ asserts :
1147+ - contains :
1148+ path : spec.template.spec.containers[0].args
1149+ content : " --experimental.otlpLogs=true"
1150+ - it : should not enable experimental otlpLogs by default
1151+ asserts :
1152+ - notContains :
1153+ path : spec.template.spec.containers[0].args
1154+ content : " --experimental.otlpLogs=true"
You can’t perform that action at this time.
0 commit comments