Cleanup orphaned Function instance on namespace change
gauron99 opened this issue · 5 comments
When deploying a function in namespace one
and later on changing context to namespace two
and deploying same function again with specified --namespace
flag will result in 2 deployed function in namespace one
and two
.
The function source code should be matched with the cluster Function deployed only, to prevent leaving dangling Function on cluster if user desired a new namespace for it.
Therefore we should delete the Function on cluster in namespace one
as now the user wants to have it deployed in namespace two
.
/assign
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen
. Mark the issue as
fresh by adding the comment /remove-lifecycle stale
.
/remove-lifecycle stale
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen
. Mark the issue as
fresh by adding the comment /remove-lifecycle stale
.
/remove-lifecycle stale