Skip to content

Commit 4e7365e

Browse files
perdasilvaCopilot
andauthored
Update docs/draft/howto/configure-bundles.md
Co-authored-by: Copilot <[email protected]>
1 parent 94d20e2 commit 4e7365e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/draft/howto/configure-bundles.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ OLM v1 validates your configuration against the bundle's schema before installat
160160

161161
| Error Message Example | Cause | Solution |
162162
|:------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------|
163-
| `invalid bundle configuration: missing required key 'watchNamespace'` | The bundle does not support `AllNamespaces` default mode. | Add the `inline` block and specify a `watchNamespace`. |
164-
| `invalid bundle configuration: value must be the install namespace` | You tried to set a different watch namespace for an `OwnNamespace`-only bundle. | Change `watchNamespace` to match `spec.namespace`. |
165-
| `invalid bundle configuration: value must not be the install namespace` | You tried to set the watch namespace to the install namespace for a `SingleNamespace`-only bundle. | Change `watchNamespace` to a different target namespace. |
166-
| `invalid bundle configuration: unknown key 'foo'` | You added extra fields to the inline config. | Remove fields other than `watchNamespace` (unless the bundle author explicitly documents extra schema support). |
163+
| `required field "watchNamespace" is missing` | The bundle does not support `AllNamespaces` default mode. | Add the `inline` block and specify a `watchNamespace`. |
164+
| `invalid value "X": watchNamespace must be "Y" (the namespace where the operator is installed) because this operator only supports OwnNamespace install mode` | You tried to set a different watch namespace for an `OwnNamespace`-only bundle. | Change `watchNamespace` to match `spec.namespace`. |
165+
| `invalid value "X": watchNamespace must be different from "Y" (the install namespace) because this operator uses SingleNamespace install mode to watch a different namespace` | You tried to set the watch namespace to the install namespace for a `SingleNamespace`-only bundle. | Change `watchNamespace` to a different target namespace. |
166+
| `unknown field "foo"` | You added extra fields to the inline config. | Remove fields other than `watchNamespace` (unless the bundle author explicitly documents extra schema support). |

0 commit comments

Comments
 (0)