In a cluster I exported the namespaces, and then destroyed the entire cluster along with all docker containers to simulate a full restore.
Upon building a new instance of Rancher 2.x and importing the namespaces, I get the error: object has been modified
UI log:
ImportYaml Error
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
Error from server (Conflict): Operation cannot be fulfilled on deployments.extensions "maria": the object has been modified; please apply your changes to the latest version and try again
Error from server (Conflict): Operation cannot be fulfilled on deployments.extensions "minio": the object has been modified; please apply your changes to the latest version and try again
Error from server (Conflict): Operation cannot be fulfilled on deployments.extensions "minio-pub": the object has been modified; please apply your changes to the latest version and try again
Error from server (Conflict): Operation cannot be fulfilled on deployments.extensions "neo4j": the object has been modified; please apply your changes to the latest version and try again
Error from server (Conflict): Operation cannot be fulfilled on deployments.extensions "postgres": the object has been modified; please apply your changes to the latest version and try again
Update: Where are the configuration for storing the Projects/Namespaces
located? I thought everything should have been in /var/lib/rancher