Database management enhancements #100
		Reference in New Issue
	
	Block a user
	
	No description provided.
		
		Delete Branch "%!s()"
	 
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Secrets
Currently, database secret is created by the db-operator, and it means that in case of recreation, we will have to update the secret in applications configs.
It's possible to used an existing secrets, and then the password will be preserved.
Let's add a
secrettocommon/values.database.yamlso the secret is created not by the operator, but by helmfile with extensions.Take the existing
*-credssecret as a reference. Values should be set in applications values/secrets files likeDeletion protection
In the main template for databases, set
deletionProtectedto true, so databases are not removed, if thedatabaseresource is gone. Check the documentation: https://github.com/db-operator/db-operator/blob/main/docs/creatingdatabases.mdAC
Notes
When helmfill tries syncing, it's most probably going to fail, because currently, resources don't belong to the release, and they are not managed by
helm, andhelmwill no modify resources that are were there before. It will say that secret have some missing labels and annotations. To fix it, just set those and sync locally