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

Commit

Permalink
define parameters for update command
Browse files Browse the repository at this point in the history
(cherry picked from commit 94364a0)
  • Loading branch information
Andrei Chernyshev committed Jan 25, 2018
1 parent 519a9d4 commit 6e3f756
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/kubeless/function/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ func init() {
updateCmd.Flags().StringP("from-file", "", "", "Specify code file")
updateCmd.Flags().StringP("memory", "", "", "Request amount of memory for the function")
updateCmd.Flags().StringSliceP("label", "", []string{}, "Specify labels of the function")
deployCmd.Flags().StringSliceP("secret-names", "", []string{}, "Specify Secrets to be mounted to the functions container. For example: --secret-names mySecret")
updateCmd.Flags().StringArrayP("env", "", []string{}, "Specify environment variable of the function")
updateCmd.Flags().StringP("namespace", "", "", "Specify namespace for the function")
updateCmd.Flags().StringP("dependencies", "", "", "Specify a file containing list of dependencies for the function")
Expand Down

0 comments on commit 6e3f756

Please sign in to comment.