At minimum, the wskdeploy utility needs valid OpenWhisk APIHOST and AUTH variable to attempt deployment. In this case the default target namespace is assumed; otherwise, NAMESPACE also needs to be provided.
Wskdeploy attempts to find these values in the following order:
Values supplied on the command line using the
namespace flags will override values supplied elsewhere (below).
for example the following flags can be used:
$ wskdeploy --apihost <host> --auth <auth> --namespace <namespace>
Command line values are considered higher in precedence since they indicate an intentional user action to override values that may have been supplied in files.
Values supplied in a Deployment YAML file will override values found elsewhere (below).
Values supplied in a Manifest YAML file will override values found elsewhere (below).
Values set using the Whisk Command Line Interface (CLI) are stored in a
.wskprops, typically in your $HOME directory, will override values found elsewhere (below).
It assumes that you have setup and can run the wskdeploy as described in the project README. If so, then the utility will use the OpenWhisk APIHOST and AUTH variable values in your .wskprops file to attempt deployment.