c4k-forgejo/doc/Upgrading.md
2022-11-03 14:10:27 +01:00

643 B

Upgrading process

adhoc (on kubernetes cluster)

Ssh into your kubernetes cluster running the gitea instance.

kubectl edit configmap gitea-env
# make sure INSTALL_LOCK under security is set to true to disable the installation screen
# save and exit
kubectl edit deployments gitea
# search for your current gitea version, e.g. 1.17.0
# replace with new version
# save and exit
kubectl scale deployment gitea --replicas=0
kubectl scale deployment gitea --replicas=1

Logging into the admin account should now show the new version.

You may want to update your c4k-gitea resources to reflect the changes made on the cluster.