Project

General

Profile

Regular Software Updates » History » Version 24

Nico Schottelius, 12/08/2023 08:10 PM

1 1 Nico Schottelius
h1. Regular Software Updates
2
3 23 Nico Schottelius
{{toc}}
4
5 1 Nico Schottelius
There are various software stacks that should be updated regularly. This document describes the intervals and procedures.
6
7 2 Nico Schottelius
h2. Kubernetes based Applications
8 1 Nico Schottelius
9
All kubernetes based applications should be updated in a 2 step manner:
10
11 2 Nico Schottelius
* Create a ticket in the datacenterlight project for the update
12 1 Nico Schottelius
* Create or update apps/dev/APPNAME in k8s-config
13
* Create or update a test instance in the kubernetes cluster that is using apps/dev/APPNAME
14
* Ensure the test instance is running properly
15
* Apply changes from apps/dev/APPNAME to apps/prod/APPNAME
16
* Ensure all production instances are applying and working properly
17 2 Nico Schottelius
18
Schedule: all apps should be checked for new updates at least once per month.
19
20 14 Nico Schottelius
| App        | Link to relevant versions                                                                             |
21
| ArgoCD     | See below                                                                                             |
22
| Ceph       | https://quay.io/repository/ceph/ceph?tab=tags                                                         |
23 17 Nico Schottelius
| cert-manager | https://artifacthub.io/packages/helm/cert-manager/cert-manager |
24 14 Nico Schottelius
| Gitea      | https://hub.docker.com/r/gitea/gitea/tags                                                             |
25
| Harbor     | helm search repo -l harbor/harbor                                                                     |
26 20 Nico Schottelius
| Matrix: synapse | https://hub.docker.com/r/matrixdotorg/synapse/tags |
27
| Matrix: synapse | https://github.com/matrix-org/synapse/releases |
28
| Matrix: element-web| https://hub.docker.com/r/vectorim/element-web/tags |
29
| Matrix: synapse-admin | https://hub.docker.com/r/awesometechnologies/synapse-admin/tags |
30 14 Nico Schottelius
| Mattermost | https://hub.docker.com/r/mattermost/mattermost-team-edition/tags                                      |
31
| Mastodon   | https://hub.docker.com/r/tootsuite/mastodon/tags https://github.com/mastodon/mastodon/tags            |
32 18 Nico Schottelius
| Mittwald Secret Generator | https://github.com/mittwald/kubernetes-secret-generator/tags |
33 14 Nico Schottelius
| Netbox     | https://hub.docker.com/r/netboxcommunity/netbox/tags                                                  |
34 16 Nico Schottelius
| nginx-ingress | https://github.com/kubernetes/ingress-nginx/releases |
35 21 Nico Schottelius
| OpenLDAP (bitnami) | https://hub.docker.com/r/bitnami/openldap/tags |
36 14 Nico Schottelius
| Rook       | https://github.com/rook/rook/tags                                                                     |
37
| Nextcloud  | https://hub.docker.com/_/nextcloud/tags                                                               |
38
| Redmine    | https://hub.docker.com/_/redmine/tags                                                                 |
39 10 Nico Schottelius
40
h3. ArgoCD
41
42
We usually use stable via:
43
44
<pre>
45
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
46
</pre>
47 22 Nico Schottelius
48 24 Nico Schottelius
h3. gitea 1.19.x to 1.20.x upgrade
49
50
* need to modify /data/gitea/conf/app.ini
51
52
<pre>
53
Deprecated config option `[mailer]` `MAILER_TYPE` present. Use `[mailer]` `PROTOCOL` instead. This fallback will be/has been removed in v1.19.0 (and 1 more)
54
55
56
Deprecated config option `[mailer]` `HOST` present. Use `[mailer]` `SMTP_ADDR` instead. This fallback will be/has been removed in v1.19.0
57
58
</pre>
59
60 22 Nico Schottelius
h3. gitea 1.20.x to 1.21.x upgrade
61
62
* need to modify /data/gitea/conf/app.ini
63
* See https://docs.gitea.com/administration/logging-config
64
65
<pre>
66
Deprecated config option `[log]` `ROUTER` present. Use `[log]` `logger.router.MODE` instead. This fallback will be/has been removed in 1.21 (and 2 more)
67
</pre>