Merge pull request #4128 from xyz-li/cleanup_app

clean up app when workspace is deleted
This commit is contained in:
KubeSphere CI Bot
2021-09-07 16:58:15 +08:00
committed by GitHub
6 changed files with 357 additions and 6 deletions

View File

@@ -41,6 +41,7 @@ const (
ChartApplicationIdLabelKey = "application.kubesphere.io/app-id"
ChartApplicationVersionIdLabelKey = "application.kubesphere.io/app-version-id"
CategoryIdLabelKey = "application.kubesphere.io/app-category-id"
DanglingAppCleanupKey = "application.kubesphere.io/app-cleanup"
CreatorAnnotationKey = "kubesphere.io/creator"
UsernameLabelKey = "kubesphere.io/username"
DevOpsProjectLabelKey = "kubesphere.io/devopsproject"
@@ -71,6 +72,9 @@ const (
OpenpitrixRepositoryTag = "Repository"
OpenpitrixManagementTag = "App Management"
CleanupDanglingAppOngoing = "ongoing"
CleanupDanglingAppDone = "done"
DevOpsCredentialTag = "DevOps Credential"
DevOpsPipelineTag = "DevOps Pipeline"
DevOpsWebhookTag = "DevOps Webhook"