Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: allow environments to be deleted if the deploytarget is disabled #3460

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

shreddedbacon
Copy link
Member

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for inclusion in changelog

When attempting to delete an environment on a cluster that no longer exists, or has been marked as disabled, Lagoon still tries to send a deletion request which goes unanswered.

Lagoon will now check if the target that the environment is deployed against is disabled, or doesn't exist anymore, and will perform the deletion as requested without sending the deletion request to the target cluster.

Closing issues

closes #3324

@shreddedbacon shreddedbacon marked this pull request as ready for review June 7, 2023 00:40
@tobybellwood tobybellwood modified the milestones: 2.16.x, 2.15.1 Jun 7, 2023
Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and LGTM

@tobybellwood tobybellwood merged commit e4473c3 into main Jun 9, 2023
@tobybellwood tobybellwood deleted the delete-on-disabled-deploytarget branch June 9, 2023 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting environments on clusters that no longer exist
2 participants