From 2c847c4809af8e9b5d4eba984a66fc775b3f236c Mon Sep 17 00:00:00 2001 From: dheerajjoshim Date: Tue, 7 May 2019 22:11:51 +0530 Subject: [PATCH] Update runtimes.md (#968) --- docs/runtimes.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/runtimes.md b/docs/runtimes.md index 1f1e4d0be..bf53d4aa4 100644 --- a/docs/runtimes.md +++ b/docs/runtimes.md @@ -346,6 +346,11 @@ Once you have Java function with dependencies and pom.xml file expressing the de ```cmd kubeless function deploy get-java-deps --runtime java1.8 --handler Hello.sayHello --from-file java/HelloWithDeps.java --dependencies java/pom.xml ``` +> Note: Maven command line arguments can be set using environment flag `--env`. For instance proxy details can be set as + +```cmd + kubeless function deploy get-java --runtime java1.8 --handler Foo.foo --from-file Foo.java --env MAVEN_OPTS='-DproxySet=true -DproxyHost= -DproxyPort=' +``` ### .NET Core (C#)