c4k-forgejo/doc/Upgrading.md

21 lines
643 B
Markdown
Raw Normal View History

# Upgrading process
## adhoc (on kubernetes cluster)
2022-11-03 13:10:20 +00:00
Ssh into your kubernetes cluster running the gitea instance.
``` bash
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
```
2022-11-03 13:10:20 +00:00
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.