I think I know what happen. when the first time casdoor pod is starting, It needs sometime to migrate the database. if the pod restart before finish, It will got weird behaviors. I just need to add a startup probe for the process done.
Yes, I read that once.
I use helm and add some settings already.
origin = https://<domain>
staticBaseUrl = https://<domain>
those are the same domain.
So, another thing I keep it default.

