You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add additional watchNamespace config unit tests
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
* Make watchNamespace config to be required for OwnNamespace bundles
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
* Update reg+v1 renderer default targetNamespace behavior and add tests
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
* Fix renderer / applier integration
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
* Update Single/OwnNamespace support e2e
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
* Update docs
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
* Addressed reviewer comments
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
* Fix testdata format
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
---------
Signed-off-by: Per G. da Silva <pegoncal@redhat.com>
Co-authored-by: Per G. da Silva <pegoncal@redhat.com>
t.Run("rejects bundles without AllNamespaces install mode and with SingleNamespace support when Single/OwnNamespace install mode support is enabled", func(t*testing.T) {
t.Run("accepts bundles without AllNamespaces install mode and with SingleNamespace support when Single/OwnNamespace install mode support is enabled", func(t*testing.T) {
283
+
t.Run("accepts bundles with install modes {SingleNamespace} when the appropriate configuration is given", func(t*testing.T) {
t.Run("accepts bundles without AllNamespaces install mode and with OwnNamespace support when Single/OwnNamespace install mode support is enabled", func(t*testing.T) {
315
+
t.Run("rejects bundles with {SingleNamespace} install modes when no configuration is given", func(t*testing.T) {
require.Contains(t, err.Error(), "invalid 'watchNamespace' \"not-install-namespace\": must be install namespace (install-namespace)")
396
+
})
397
+
338
398
t.Run("rejects bundles without AllNamespaces, SingleNamespace, or OwnNamespace install mode support when Single/OwnNamespace install mode support is enabled", func(t*testing.T) {
0 commit comments