last applied annotations are not getting updated #124940
Labels
kind/bug
Categorizes issue or PR as related to a bug.
kind/support
Categorizes issue or PR as a support question.
needs-sig
Indicates an issue or PR lacks a `sig/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened?
i was trying to update configmap and after editing successfully configmap annotation didn't update with the last values. still, it holds 1st-time data only.
basically, I am trying to write one code to capture if someone changes anything in CM and we can identify it.
and also in some configmap I am not able to find last-applied annotation.
What did you expect to happen?
annotation should update
How can we reproduce it (as minimally and precisely as possible)?
create cm with below
apiVersion: v1 kind: ConfigMap metadata: name: game-config-env-file data: allowed: '"true"' enemies: aliens lives: "31"
and now edit this cm game-config-env-file and let say change any values last-applied annotation is not getting chnaged
Anything else we need to know?
No response
Kubernetes version
Cloud provider
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: