What happens to generated Applications when an element disappears from a generator?
IntermediateConceptApplicationSets, App-of-Apps & Multi-Cluster
Answer
By default the ApplicationSet controller deletes the Application, and if the Application has the resources finalizer, its resources are deleted too. Protections: syncPolicy.preserveResourcesOnDeletion: true (delete Applications but leave workloads), and applicationsSync: create-only or create-update to stop the controller deleting Applications at all. A bad commit that removes a config.json could otherwise wipe an environment.
More on ApplicationSets, App-of-Apps & Multi-Cluster
What problem does an ApplicationSet solve?BeginnerList the ApplicationSet generators.BeginnerShow a list generator example.BeginnerHow does the cluster generator work?IntermediateCompare the git directory and git files generators.IntermediateWhat is a matrix generator and what are its limits?Intermediate