Can't modify(patch) docker image id of existing kubernetes deployment definition on eks(aws) Can't modify(patch) docker image id of existing kubernetes deployment definition on eks(aws) kubernetes kubernetes

Can't modify(patch) docker image id of existing kubernetes deployment definition on eks(aws)


You can check if the service account has RBAC to patch deployment in namespace arch-ns

kubectl auth can-i patch deployment --as=system:serviceaccount:arch-user:default -n arch-ns

If the above command returns no then add necessary role and rolebinding to the service account.

One thing to notice here is that its a default service account in arch-user namespace but trying to perform operation in a different namespace arch-ns