Skip to content

Commit 7355dbf

Browse files
Update internal/operator-controller/rukpak/render/render.go
Co-authored-by: Camila Macedo <[email protected]>
1 parent a02080d commit 7355dbf

File tree

1 file changed

+1
-1
lines changed
  • internal/operator-controller/rukpak/render

1 file changed

+1
-1
lines changed

internal/operator-controller/rukpak/render/render.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func validateTargetNamespaces(rv1 *bundle.RegistryV1, installNamespace string, t
159159
// message than just the generic (at least one target namespace must be specified) which would occur
160160
// in case only the MultiNamespace install mode is supported by the bundle.
161161
// If AllNamespaces mode is supported, the default will be [""] -> watch all namespaces
162-
// If only OwnNamespace is supported, the default will be [install-namespace] -> only watch the install/own namespace
162+
// If AllNamespaces is not supported, no default is applied and configuration must provide the target namespace(s)
163163
if supportedInstallModes.Has(v1alpha1.InstallModeTypeMultiNamespace) {
164164
return errors.New("at least one target namespace must be specified")
165165
}

0 commit comments

Comments
 (0)