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

Commit

Permalink
define parameters
Browse files Browse the repository at this point in the history
(cherry picked from commit 69654cf)
  • Loading branch information
Andrei Chernyshev committed Jan 25, 2018
1 parent 52b9e18 commit 519a9d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/kubeless/function/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ func init() {
deployCmd.Flags().StringP("handler", "", "", "Specify handler")
deployCmd.Flags().StringP("from-file", "", "", "Specify code file")
deployCmd.Flags().StringSliceP("label", "", []string{}, "Specify labels of the function. Both separator ':' and '=' are allowed. For example: --label foo1=bar1,foo2:bar2")
deployCmd.Flags().StringSliceP("secret-names", "", []string{}, "Specify Secrets to be mounted to the functions container. For example: --secret-names mySecret")
deployCmd.Flags().StringArrayP("env", "", []string{}, "Specify environment variable of the function. Both separator ':' and '=' are allowed. For example: --env foo1=bar1,foo2:bar2")
deployCmd.Flags().StringP("namespace", "", "", "Specify namespace for the function")
deployCmd.Flags().StringP("dependencies", "", "", "Specify a file containing list of dependencies for the function")
Expand Down

0 comments on commit 519a9d4

Please sign in to comment.