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
run: allow passing a custom version of the Docker image (#480)
By default, when using `boe run --docker`, the version of the BOE CLI
will be used (if it is an officially released one), and fall back to
`latest` otherwise. This change allows passing a command line flag to
set the version of the Docker image to use.
Signed-off-by: Ignasi Barrera <ignasi@tetrate.io>
Copy file name to clipboardExpand all lines: cli/cmd/run.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ type Run struct {
54
54
TestUpstreamClusterstring`name:"test-upstream-cluster" help:"Name of an existing configured cluster to use as the test upstream. The cluster must be configured via --cluster, --cluster-insecure, or --cluster-json. Mutually exclusive with --test-upstream-host."`
55
55
Dockerbool`help:"Run Envoy as a Docker container instead of using func-e." default:"false" env:"BOE_RUN_DOCKER"`
56
56
Pullstring`name:"pull" help:"Pull policy for the BOE Docker image (missing, always, never). Only applicable when running with --docker." enum:"missing,always,never" default:"missing"`
57
+
DockerImageVersionstring`name:"docker-image-version" help:"Override the BOE Docker image tag to use when running with --docker. By default, the image version matches the BOE version."`
57
58
OCIOCIFlags`embed:""`
58
59
59
60
extensionPositionsextensionPositions`kong:"-"`// Internal field: tracks the original position of extensions specified via both --extension and --local flags
Copy file name to clipboardExpand all lines: website/src/pages/docs/cli/run.mdx
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ boe run --help
116
116
|`--test-upstream-cluster`| Name of an existing configured cluster to use as the test upstream. The cluster must be configured via --cluster, --cluster-insecure, or --cluster-json. Mutually exclusive with --test-upstream-host. |`string`| - | - | No |
117
117
|`--docker`| Run Envoy as a Docker container instead of using func-e. |`bool`|`false`|`BOE_RUN_DOCKER`| No |
118
118
|`--pull`| Pull policy for the BOE Docker image (missing, always, never). Only applicable when running with --docker. |`string`|`missing`| - | No |
119
+
|`--docker-image-version`| Override the BOE Docker image tag to use when running with --docker. By default, the image version matches the BOE version. |`string`| - | - | No |
119
120
|`--registry`| OCI registry URL for the extensions. |`string`|`ghcr.io/tetratelabs/built-on-envoy`|`BOE_REGISTRY`| No |
120
121
|`--insecure`| Allow connecting to an insecure (HTTP) registry. |`bool`|`false`|`BOE_REGISTRY_INSECURE`| No |
121
122
|`--username`| Username for the OCI registry. |`string`| - |`BOE_REGISTRY_USERNAME`| No |
0 commit comments