Automating CTFd deployment, including theme and challenges

Last year, I used CTFd to run an event with great success. We created a custom theme to accompany the challenges. I am deploying CTFd on K8s, and it’s a two-step process: deploy ctfd/redis/Postgres/etc. Then, login, create an admin user and import a backup that we had previously exported with all of the theming and challenges. Is there some nice way to automate this step as well?