> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/troubleshooting-and-resources/armory/general/renaming-a-configmap-creates-a-new-copy-and-does-not-delete-the-original.md).

# Renaming a ConfigMap creates a new copy and does not delete the original

### Issue <a href="#issue" id="issue"></a>

When a ConfigMap is modified or renamed, a new copy is created. The ConfigMap with the original name is not impacted or deleted.

### Cause <a href="#cause" id="cause"></a>

Retaining previous versions of resources like ConfigMaps is the intended behavior. According to Spinnaker's default Resource Management Policy - if a resource is versioned, it is **always** deployed with a new sequence number, in the format of `vNNN`, unless no change has been made to it. This is the default behavior for resources like ConfigMaps and ReplicaSets, which don't have their own built-in update policies.
