Skip to content

Commit eb70da3

Browse files
committed
make check fail deliberately to demonstrate validity of check
[skip ci]
1 parent 07f7c5a commit eb70da3

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

helm-chart/dash0-operator/templates/operator/deployment-and-webhooks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ spec:
163163
{{- if (default .Values.operator.instrumentation.delayAfterEachNamespaceMillis .Values.operator.instrumentationDelayAfterEachNamespaceMillis) }}
164164
- --instrumentation-delay-after-each-namespace-millis={{ default .Values.operator.instrumentation.delayAfterEachNamespaceMillis .Values.operator.instrumentationDelayAfterEachNamespaceMillis }}
165165
{{- end }}
166+
- foobar=baz
166167
env:
167168
- name: DASH0_OPERATOR_NAMESPACE
168169
valueFrom:

internal/startup/operator_manager_startup.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ type commandLineArguments struct {
9797
probeAddr string
9898
secureMetrics bool
9999
enableHTTP2 bool
100+
foobar string
100101
}
101102

102103
const (
@@ -428,6 +429,12 @@ func defineCommandLineArguments() *commandLineArguments {
428429
false,
429430
"If set, HTTP/2 will be enabled for the metrics and webhook servers.",
430431
)
432+
flag.StringVar(
433+
&cliArgs.foobar,
434+
"foobar",
435+
"",
436+
"----",
437+
)
431438
return cliArgs
432439
}
433440

0 commit comments

Comments
 (0)