Add annotation flag support to the deploy and store-deploy

Adding support for annotations through annotation flag
to the faas-cli deploy and store-deploy.

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
This commit is contained in:
Martin Dekov (VMware)
2018-08-09 03:18:52 -07:00
committed by Alex Ellis
parent d8ff52e8bb
commit 8c7957d4d0
3 changed files with 32 additions and 6 deletions

View File

@@ -12,5 +12,6 @@ type StoreItem struct {
RepoURL string `json:"repo_url"`
Environment map[string]string `json:"environment"`
Labels map[string]string `json:"labels"`
Annotations map[string]string `json:"annotations"`
ReadOnlyRootFilesystem bool `json:"readOnlyRootFilesystem"`
}