-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add labels to OpenFaas functions from the function spec #40
Comments
I can take a look at this 👍 |
Derek assign: me |
Thank you 💪 |
Hey @martindekov, I've added some references on the previous issue: Doc: https://godoc.org/github.com/containerd/containerd#WithContainerLabels Code: faasd/pkg/provider/handlers/deploy.go Line 100 in 4775a9a
|
Thanks for pointing the right place @carlosedp 👍 Definitely saved me time searching it 🍻 |
This was referenced Feb 15, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add labels to OpenFaas functions from the function spec
Expected Behaviour
We should be able to add a label to a function by adding it to container definition.
So, when we run:
faas-cli store deploy figlet --label hello=world
We should get back the labels with:
faas-cli describe figlet
Current Behaviour
Labels are not added
Possible Solution
A PR is in the works
Steps to Reproduce (for bugs)
1>
faas-cli store deploy figlet --label hello=world
2>
faas-cli describe figlet
# Won't print out labelsThis feature works perfectly with faas-netes (OpenFaas running on Kubernetes), but we need to port this functionality here too.
This issue is a duplicate of this issue by @alexellis on the archived faas-containerd repo
The text was updated successfully, but these errors were encountered: