radondb-mysql-kubernetes
radondb-mysql-kubernetes copied to clipboard
syncer: support syncing the configration through configmap
What type of PR is this?
/enhancement
Which issue(s) this PR fixes?
ref: #580
What this PR does?
Summary:
- expand the feature of the ObjectSyncer support CreateIfNotExist, if the object already exists, skip the mutate and update.
- support directly modify configmap
Special notes for your reviewer?
- Delete CM: If the configmap is deleted, the re -generated ConfigMap Revision will change, which will trigger the cluster update
- mysqlOpts.mycnf: The configuration in the CR will still be added to the end of the configmap data, And will not disappear after deleting configmap