Fix: remove checks of the exists of release when delete app and repo
Signed-off-by: LiHui <andrewli@yunify.com>
This commit is contained in:
@@ -267,6 +267,11 @@ func (c *releaseOperator) ListApplications(workspace, clusterName, namespace str
|
||||
ls[constants.ChartApplicationVersionIdLabelKey] = versionId
|
||||
}
|
||||
|
||||
repoId := conditions.Match[RepoId]
|
||||
if repoId != "" {
|
||||
ls[constants.ChartRepoIdLabelKey] = repoId
|
||||
}
|
||||
|
||||
if workspace != "" {
|
||||
ls[constants.WorkspaceLabelKey] = workspace
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user