# Why auto-generated fields of a custom object cannot be modified

**URL:** <https://community.replicated.com/t/why-auto-generated-fields-of-a-custom-object-cannot-be-modified/521>\
**Category:** Supporting your customers\
**Created:** [April 27, 2021, 5:09pm UTC](https://community.replicated.com/t/why-auto-generated-fields-of-a-custom-object-cannot-be-modified/521 "2021-04-27T17:09:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jalaja\_Ganapathy](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.replicated.com/jalaja_ganapathy/32/268_2.png) [@Jalaja\_Ganapathy](https://community.replicated.com/u/Jalaja_Ganapathy)\
**Post date:** [April 27, 2021, 5:09pm UTC](https://community.replicated.com/t/why-auto-generated-fields-of-a-custom-object-cannot-be-modified/521/1 "2021-04-27T17:09:39Z")

</div>

Auto-generated fields cannot be excluded and applied in kubernetes version 1.19.7 and before. In order to workaround this problem, upgrade kubernetes version 1.19.9.

For ex., pick a config map and get the yaml

kubectl get configmap -o yaml.

Try modifiying the auto-generated fields and apply, you will see the error. Although modifying is not allowed, deletion of the auto-generated fields seems to work in 1.19.7.

Solution/Workaround: Upgrade to kubernetes 1.19.9
