Skip to content
This repository was archived by the owner on Dec 15, 2021. It is now read-only.
This repository was archived by the owner on Dec 15, 2021. It is now read-only.

Pass environment variables to compile phase of a Java function container #972

@dheerajjoshim

Description

@dheerajjoshim

Is this a BUG REPORT or FEATURE REQUEST?:
FEATURE REQUEST

What happened:
Passing environment variable using --env command line argument doesn't propagate these variable to compile phase. This is essentially required to pass command line arguments to mvn command.

What you expected to happen:
Environment variable passed using --env command line argument must be available or injected to compile phase of Java function

How to reproduce it (as minimally and precisely as possible):
Pass environment variable --env FOO=BAR to a Java function and edit the function deployment file and check compile phase. environment variable FOO=BAR is not passed

Anything else we need to know?:
No

Environment:

  • Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:17:39Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-21T09:05:37Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
  • Kubeless version (use kubeless version):
    Kubeless version: v1.0.0

  • Cloud provider or physical cluster:
    Using kubernetes on docker edge channel for windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions