Remove mysql and mariadb chart deps #417

Merged
pat-s merged 6 commits from refs/pull/417/head into main 2023-03-28 17:02:05 +00:00
pat-s commented 2023-03-25 10:07:13 +00:00 (Migrated from gitea.com)

As discussed in Discord.

Supersedes #412 and #407.

⚠️ BREAKING

Users depending on the built-in MySQL or MariaDB chart have to switch to an self-managed database, or Postgres

As discussed in Discord. Supersedes #412 and #407. **⚠️ BREAKING** Users depending on the built-in MySQL or MariaDB chart have to switch to an self-managed database, or Postgres
justusbunsi (Migrated from gitea.com) reviewed 2023-03-25 10:14:00 +00:00
techknowlogick (Migrated from gitea.com) reviewed 2023-03-25 10:14:07 +00:00
justusbunsi (Migrated from gitea.com) reviewed 2023-03-27 16:21:59 +00:00
justusbunsi (Migrated from gitea.com) left a comment

Besides the commented parts, L-G-T-M.

Besides the commented parts, L-G-T-M.
@ -892,1 +601,4 @@
| `global.hostAliases` | global hostAliases which will be added to the pod's hosts files | `[]` |
| `replicaCount` | number of replicas for the statefulset | `1` |
| `clusterDomain` | cluster domain | `cluster.local` |
justusbunsi (Migrated from gitea.com) commented 2023-03-27 16:22:14 +00:00

I don't think we should remove MySQL and MariaDB from older changelog entries. In those versions they are still valid.

I don't think we should remove MySQL and MariaDB from older changelog entries. In those versions they are still valid.
@ -407,3 +236,3 @@
Any external database listed in [https://docs.gitea.com/installation/database-prep](https://docs.gitea.com/installation/database-prep) can be used instead of the built-in PostgreSQL.
Any external Database listed in [https://docs.gitea.io/en-us/database-prep/](https://docs.gitea.io/en-us/database-prep/) can be used instead of the built-in PostgreSQL.
In fact, it is **highly recommended** to use an external database to ensure a stable Gitea installation longterm.
justusbunsi (Migrated from gitea.com) commented 2023-03-27 16:28:52 +00:00

While I agree with the recommendation to use an external database for a longterm stable Gitea installation, I don't agree that the built-in dependency is mainly for testing an development purposes. If that would be the case, we wouldn't release the dependency but instead have it located somewhere in a testing folder or similar to boostrap the dev environment with it.
If users decide to rely on the built-in database, they can do so by accepting all the changes we make - e.g. updating. That is totally fine in my opinion.

While I agree with the recommendation to use an external database for a longterm stable Gitea installation, I don't agree that the built-in dependency is mainly for testing an development purposes. If that would be the case, we wouldn't release the dependency but instead have it located somewhere in a `testing` folder or similar to boostrap the dev environment with it. If users decide to rely on the built-in database, they can do so by accepting all the changes we make - e.g. updating. That is totally fine in my opinion.
@ -1385,3 +851,3 @@
<summary>To 5.0.0</summary>
### To 5.0.0
> 💥 The Helm Chart now requires Gitea versions of at least 1.11.0.
justusbunsi (Migrated from gitea.com) commented 2023-03-27 16:21:59 +00:00

I don't think we should remove MySQL and MariaDB from older changelog entries. In those versions they are still valid.

I don't think we should remove MySQL and MariaDB from older changelog entries. In those versions they are still valid.
pat-s (Migrated from gitea.com) reviewed 2023-03-27 17:22:12 +00:00
@ -892,1 +601,4 @@
| `global.hostAliases` | global hostAliases which will be added to the pod's hosts files | `[]` |
| `replicaCount` | number of replicas for the statefulset | `1` |
| `clusterDomain` | cluster domain | `cluster.local` |
pat-s (Migrated from gitea.com) commented 2023-03-27 17:22:12 +00:00

Agreed!

Agreed!
pat-s (Migrated from gitea.com) reviewed 2023-03-27 17:23:23 +00:00
@ -407,3 +236,3 @@
Any external database listed in [https://docs.gitea.com/installation/database-prep](https://docs.gitea.com/installation/database-prep) can be used instead of the built-in PostgreSQL.
Any external Database listed in [https://docs.gitea.io/en-us/database-prep/](https://docs.gitea.io/en-us/database-prep/) can be used instead of the built-in PostgreSQL.
In fact, it is **highly recommended** to use an external database to ensure a stable Gitea installation longterm.
pat-s (Migrated from gitea.com) commented 2023-03-27 17:23:23 +00:00

Fair point! I removed the respective sentence.

Fair point! I removed the respective sentence.
justusbunsi (Migrated from gitea.com) reviewed 2023-03-27 17:24:12 +00:00
justusbunsi (Migrated from gitea.com) approved these changes 2023-03-27 17:31:56 +00:00
justusbunsi (Migrated from gitea.com) left a comment

LGTM

LGTM
jolheiser (Migrated from gitea.com) approved these changes 2023-03-28 16:53:46 +00:00
yardenshoham (Migrated from gitea.com) approved these changes 2023-03-28 16:55:43 +00:00
Sign in to join this conversation.
No description provided.