kubeless
kubeless copied to clipboard
be more declarative
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 ?
Same thing with kubeless trigger create/update
👍 for this feature
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