diff --git a/frontend/src/components/ShootStatus.vue b/frontend/src/components/ShootStatus.vue index 0e4229202..9ee64f020 100644 --- a/frontend/src/components/ShootStatus.vue +++ b/frontend/src/components/ShootStatus.vue @@ -79,6 +79,10 @@ const errorCodes = { shortDescription: 'Infrastructure Dependencies', description: 'Infrastructure operation failed as unmanaged resources exist in your cloud provider account. Please delete all manually created resources related to this Shoot.' } + 'ERR_CLEANUP_CLUSTER_RESOURCES': { + shortDescription: 'Cleanup Cluster', + description: 'Cleaning up the cluster failed as some resource are stuck in deletion. Please remove these resources properly or a forceful deletion will happen if this error persists.' + } } export default { diff --git a/frontend/src/utils/index.js b/frontend/src/utils/index.js index d68984631..f292393ed 100644 --- a/frontend/src/utils/index.js +++ b/frontend/src/utils/index.js @@ -381,7 +381,8 @@ export function isUserError (errorCodes) { 'ERR_INFRA_UNAUTHORIZED', 'ERR_INFRA_INSUFFICIENT_PRIVILEGES', 'ERR_INFRA_QUOTA_EXCEEDED', - 'ERR_INFRA_DEPENDENCIES' + 'ERR_INFRA_DEPENDENCIES', + 'ERR_CLEANUP_CLUSTER_RESOURCES' ] return every(errorCodes, errorCode => includes(userErrorCodes, errorCode)) }