Store the template and deletion strategy used for managed resources
What does this MR do and why?
Stores the name of the template used to generate Kubernetes resources for an environment, as well as the deletion strategy specified by the template (if present). These will be used to determine the deletion behaviour when the environment is later stopped or removed.
References
How to set up and validate locally
- Follow the instructions in !177525 (merged) to create a managed resource record.
- In a Rails console, verify that the template and deletion strategy were persisted with
Clusters::Agents::ManagedResource.last.template_nameandClusters::Agents::ManagedResource.last.deletion_strategy.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #507486 (closed)
Edited by Tiger Watson