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
The default channel info/annotation is optional & not required
The default channel annotation is no longer required as default
channel information is now optional. Users may provide default
channel if they intend to update default channel information in
the index/DB.
The default channel may still be infered if package.yaml is present.
If the default channel cannot be infered, then the default channel
will be omitted.
Bundle validation will no longer error out if default channel
annotation is missing.
Signed-off-by: Vu Dinh <[email protected]>
Copy file name to clipboardexpand all lines: docs/design/operator-bundle.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ We use the following labels to annotate the operator bundle image.
45
45
* The value `metadata.v1` implies that this bundle has operator metadata.
46
46
* The label `operators.operatorframework.io.bundle.package.v1` reflects the package name of the bundle.
47
47
* The label `operators.operatorframework.io.bundle.channels.v1` reflects the list of channels the bundle is subscribing to when added into an operator registry
48
-
* The label `operators.operatorframework.io.bundle.channel.default.v1` reflects the default channel an operator should be subscribed to when installed from a registry
48
+
* The label `operators.operatorframework.io.bundle.channel.default.v1` reflects the default channel an operator should be subscribed to when installed from a registry. This label is optional if the default channel has been set by previous bundles and the default channel is unchanged for this bundle.
49
49
50
50
The labels will also be put inside a YAML file, as shown below.
The `--package` or `-p` is the name of package for the operator such as `etcd` which maps `channels` to a particular application definition. `channels` allow package authors to write different upgrade paths for different users (e.g. `beta` vs. `stable`). The `channels` list is provided via `--channels` or `-c` flag. Multiple `channels` are separated by a comma (`,`). The default channel is provided optionally via `--default` or `-e` flag. If the default channel is not provided, the first channel in channel list is selected as default.
243
+
The `--package` or `-p` is the name of package for the operator such as `etcd` which maps `channels` to a particular application definition. `channels` allow package authors to write different upgrade paths for different users (e.g. `beta` vs. `stable`). The `channels` list is provided via `--channels` or `-c` flag. Multiple `channels` are separated by a comma (`,`). The default channel is provided optionally via `--default` or `-e` flag.
244
244
245
245
*Notes:*
246
246
* If there is `Dockerfile` existing in the directory, it will be overwritten.
0 commit comments