mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-13 06:04:02 +00:00
Make objects in fed controller reconcilation function fully writable
This commit is contained in:
@@ -269,8 +269,9 @@ func (configmapcontroller *ConfigMapController) reconcileConfigMap(configmap typ
|
||||
return
|
||||
}
|
||||
|
||||
// Do not modify data.
|
||||
desiredConfigMap := &api_v1.ConfigMap{
|
||||
ObjectMeta: util.CopyObjectMeta(baseConfigMap.ObjectMeta),
|
||||
ObjectMeta: util.DeepCopyRelevantObjectMeta(baseConfigMap.ObjectMeta),
|
||||
Data: baseConfigMap.Data,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user