radondb-mysql-kubernetes icon indicating copy to clipboard operation
radondb-mysql-kubernetes copied to clipboard

syncer: support syncing the configration through configmap

Open runkecheng opened this issue 3 years ago • 0 comments

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?

  1. Delete CM: If the configmap is deleted, the re -generated ConfigMap Revision will change, which will trigger the cluster update
  2. 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

runkecheng avatar Aug 11 '22 07:08 runkecheng