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
cli: support dev Envoy version natively via func-e v1.6.0 (#444)
Testing unreleased Envoy features with BOE previously meant using
Docker and the distroless-dev image tag, which only works on Linux and
bypasses func-e entirely.
func-e v1.6.0 added native dev builds backed by the same daily
archive-envoy pipeline that publishes released versions. The dev key in
envoy-versions.json carries a commitSha that traces back to the exact
envoyproxy/envoy Docker image it was extracted from.
`--envoy-versions-url` (or `ENVOY_VERSIONS_URL`) passes a custom
versions JSON URL through to func-e. `dev` and `dev-latest` are
accepted as Envoy version strings and bypass the semver compatibility
check against extension manifests.
```console
$ boe run --envoy-version dev-latest --local extensions/example-lua --envoy-versions-url https://archive.tetratelabs.io/envoy/envoy-versions_debug.json
```
Signed-off-by: Adrian Cole <adrian@tetrate.io>
EnvoyVersionstring`help:"Envoy version to use (e.g., 1.31.0)" env:"ENVOY_VERSION"`
35
-
EnvoyPathstring`name:"envoy-path" help:"Path to a custom Envoy binary. Skips Envoy download and version selection." env:"ENVOY_PATH" type:"existingfile"`
RunIDstring`name:"run-id" env:"BOE_RUN_ID" help:"Run identifier for this invocation. Overrides the default timestamp-based ID."`
38
-
ListenPortuint32`help:"Port for Envoy listener to accept incoming traffic." default:"10000"`
39
-
AdminPortuint32`name:"admin-port" help:"Port for Envoy admin interface." default:"9901" env:"BOE_ADMIN_PORT"`
40
-
Extensions []string`name:"extension" help:"Extensions to enable (in the format: \"name\" or \"name:version\")."`
41
-
Local []string`name:"local" sep:"none" help:"Path to a directory containing a local Extension to enable." type:"existingdir"`
42
-
Devbool`help:"Whether to allow downloading dev versions of extensions (with -dev suffix). By default, only stable versions are allowed." default:"false"`
34
+
EnvoyVersionstring`help:"Envoy version to use (e.g., 1.31.0, dev, dev-latest)" env:"ENVOY_VERSION"`
35
+
EnvoyVersionsURLstring`name:"envoy-versions-url" help:"URL of the Envoy versions JSON. Override to use debug builds (see archive-envoy)." env:"ENVOY_VERSIONS_URL" hidden:""`
36
+
EnvoyPathstring`name:"envoy-path" help:"Path to a custom Envoy binary. Skips Envoy download and version selection." env:"ENVOY_PATH" type:"existingfile"`
RunIDstring`name:"run-id" env:"BOE_RUN_ID" help:"Run identifier for this invocation. Overrides the default timestamp-based ID."`
39
+
ListenPortuint32`help:"Port for Envoy listener to accept incoming traffic." default:"10000"`
40
+
AdminPortuint32`name:"admin-port" help:"Port for Envoy admin interface." default:"9901" env:"BOE_ADMIN_PORT"`
41
+
Extensions []string`name:"extension" help:"Extensions to enable (in the format: \"name\" or \"name:version\")."`
42
+
Local []string`name:"local" sep:"none" help:"Path to a directory containing a local Extension to enable." type:"existingdir"`
43
+
Devbool`help:"Whether to allow downloading dev versions of extensions (with -dev suffix). By default, only stable versions are allowed." default:"false"`
43
44
// sep:"none" disables Kong's default comma-separated splitting for []string flags.
44
45
// JSON config values contain commas (e.g. {"a":"1","b":"2"}) which would otherwise
45
46
// be split into separate invalid fragments, causing protobuf unmarshal failures.
0 commit comments