kubeless icon indicating copy to clipboard operation
kubeless copied to clipboard

be more declarative

Open sebgoa opened this issue 6 years ago • 3 comments

if we deploy a function that already exists kubeless fails.

kubeless function create foo ...
kubeless function create foo ...

We should be a bit more declarative like kubectl apply, for example I would like to see:

kubeless function update foo

Create the function and not fail if the function already exists.

This will help with continuous delivery.

And yes, I am aware that we can be declarative with kubectl apply if we stick the function in a k8s manifest.

cc/ @murali-reddy do you think you could hot fix kubeless update to also create a function if if does not already exists ?

sebgoa avatar Jun 16 '18 12:06 sebgoa

Same thing with kubeless trigger create/update

sebgoa avatar Jun 16 '18 12:06 sebgoa

👍 for this feature

sunfmin avatar Sep 07 '18 07:09 sunfmin

Lets also be more declarative regarding the issue title - I would suggest

Make "kubeless function update" create the function and not fail if the function already exists to improve CI

StefanLobbenmeier avatar Jun 20 '20 20:06 StefanLobbenmeier