Skip to content

Environment variables passed via -e flag not applied on deploy #3514

@lkingland

Description

@lkingland

Environment variables passed with func deploy -e KEY=VALUE are not
included in the deployed service spec. They work correctly with
func run -e, but on deploy the env vars are missing from the
container spec.

Expected: -e MYVAR=value on deploy sets the env var in the Knative
service container spec, the same way it does for local runs.

Related: SRVOCF-650

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions