Skip to content

Commit dbfb881

Browse files
committed
fixup! feat: Use flag to configure namespacesync target namespace label key
Bind flag to correct variable
1 parent 3f7ed43 commit dbfb881

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controllers/namespacesync/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (o *Options) AddFlags(flags *pflag.FlagSet) {
3737
)
3838

3939
pflag.CommandLine.StringVar(
40-
&o.SourceNamespace,
40+
&o.TargetNamespaceLabelKey,
4141
"namespacesync-target-namespace-label-key",
4242
"",
4343
"Label key to determine if a namespace is a target. If a namespace has a label with this key, copy ClusterClasses and Templates to it from the source namespace.", //nolint:lll // Output will be wrapped.

0 commit comments

Comments
 (0)