Migrating from Docker Compose-based installation to Kubernetes

I run Gitea in Docker Compose, with Postgres running on a separate VM (my Gitea config points to the Postgres DB).

I’d like to move from Docker to K3s (a kubernetes distribution). What is the best way to do this? I’m thinking I’d use the helm chart:

  1. Use external database to specify my database connection info
  2. Use ENV_TO_INI to specify the rest of my settings
  3. Install (this would be done via Flux CD)
  4. After the volume is created, rsync my git repos from the docker volume to the K3s volume
  5. ???

Because I’m keeping the same DB, all my users, webhooks, API keys, etc… would be the same…