The volumeMounts for fileadmin and typo3conf are /fileadmin and /typo3conf respectively. With this path, when the container dies, typo3 asks to register the db and your account again, indicating that the volumes did not work.
To fix this problem, the volumes should be /var/www/html/fileadmin/var/www/html/typo3conf
as seen here:
kubectl exec -it typo3-66b5f484cd-q2szd -n typo3 -- /bin/bashroot@typo3-66b5f484cd-q2szd:/var/www/html# lsfileadmin index.php typo3 typo3_src typo3_src-12.4.6 typo3conf typo3temp uploads
I have tested it on the initially provided container 11.5 and the latest one and it works all fine.
The volumeMounts for fileadmin and typo3conf are /fileadmin and /typo3conf respectively. With this path, when the container dies, typo3 asks to register the db and your account again, indicating that the volumes did not work.
To fix this problem, the volumes should be /var/www/html/fileadmin /var/www/html/typo3conf
as seen here:
kubectl exec -it typo3-66b5f484cd-q2szd -n typo3 -- /bin/bash
root@typo3-66b5f484cd-q2szd:/var/www/html# ls
fileadmin index.php typo3 typo3_src typo3_src-12.4.6 typo3conf typo3temp uploads
I have tested it on the initially provided container 11.5 and the latest one and it works all fine.