File tree Expand file tree Collapse file tree 3 files changed +33
-1
lines changed
internal/cmd/operator-sdk/run/bundle
website/content/en/docs/cli Expand file tree Collapse file tree 3 files changed +33
-1
lines changed Original file line number Diff line number Diff line change
1
+ # entries is a list of entries to include in
2
+ # release notes and/or the migration guide
3
+ entries :
4
+ - description : >
5
+ Update the `operator-sdk run bundle` command to have a more detailed
6
+ help output, stating the intent of the command and that index-images
7
+ passed via the `--index-image` flag should not already contain the bundle.
8
+
9
+ # kind is one of:
10
+ # - addition
11
+ # - change
12
+ # - deprecation
13
+ # - removal
14
+ # - bugfix
15
+ kind: "change"
16
+
17
+ # Is this a breaking change?
18
+ breaking: false
Original file line number Diff line number Diff line change @@ -30,7 +30,14 @@ func NewCmd(cfg *operator.Configuration) *cobra.Command {
30
30
Use : "bundle <bundle-image>" ,
31
31
Short : "Deploy an Operator in the bundle format with OLM" ,
32
32
Long : `The single argument to this command is a bundle image, with the full registry path specified.
33
- If using a docker.io image, you must specify docker.io(/<namespace>)?/<bundle-image-name>:<tag>.` ,
33
+ If using a docker.io image, you must specify docker.io(/<namespace>)?/<bundle-image-name>:<tag>.
34
+
35
+ The main purpose of this command is to streamline running the bundle without having to provide an index image with the bundle already included.
36
+
37
+ The ` + "`--index-image`" + ` flag specifies an index image in which to inject the given bundle. It can be specified to resolve dependencies for a bundle.
38
+ This is an optional flag which will default to ` + "`quay.io/operator-framework/opm:latest`." + `
39
+ The index image provided should **NOT** already have the bundle.
40
+ ` ,
34
41
Args : cobra .ExactArgs (1 ),
35
42
PreRunE : func (* cobra.Command , []string ) error { return cfg .Load () },
36
43
Run : func (cmd * cobra.Command , args []string ) {
Original file line number Diff line number Diff line change @@ -10,6 +10,13 @@ Deploy an Operator in the bundle format with OLM
10
10
The single argument to this command is a bundle image, with the full registry path specified.
11
11
If using a docker.io image, you must specify docker.io(/< ; namespace> ; )?/< ; bundle-image-name> ; :< ; tag> ; .
12
12
13
+ The main purpose of this command is to streamline running the bundle without having to provide an index image with the bundle already included.
14
+
15
+ The ` --index-image ` flag specifies an index image in which to inject the given bundle. It can be specified to resolve dependencies for a bundle.
16
+ This is an optional flag which will default to ` quay.io/operator-framework/opm:latest ` .
17
+ The index image provided should ** NOT** already have the bundle.
18
+
19
+
13
20
```
14
21
operator-sdk run bundle <bundle-image> [flags]
15
22
```
You can’t perform that action at this time.
0 commit comments