Update README with new dependency versioning approach #578
Reference in New Issue
Block a user
No description provided.
Delete Branch "readme-dep-versioning"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As discussed in gitea/helm-chart#572.
Also added a bit more context and updates to the overall "Dependencies" sections.
@justusbunsi Any comments from your side?
Sorry for not reviewing earlier. Last week was weird wrt my availability.
@@ -82,2 +85,2 @@Gitea can be run with an external database and cache.This chart provides those dependencies, which can be enabled, or disabled via configuration.Gitea is most performant when run with an external database and cache.This chart provides those dependencies as sub-chart dependencies.Don't repeat "dependencies".
@@ -89,0 +105,4 @@The reasoning behind this is that new users of the chart will start with the most recent sub-chart dependency versions.If you want to stay on an older appVersion of a sub-chart dependency (e.g. PostgreSQL), you need to override the image tag in your `values.yaml` file.In fact, we recommend to do so right from the start to be independent of major sub-chart dependency changes as they are released.This should be more eye-catching. Maybe by using the quote syntax? Although, this would break the text flow. 🤔
I've used a
**Note**to make it stand out more.@@ -89,0 +106,4 @@If you want to stay on an older appVersion of a sub-chart dependency (e.g. PostgreSQL), you need to override the image tag in your `values.yaml` file.In fact, we recommend to do so right from the start to be independent of major sub-chart dependency changes as they are released.There is no need to update to every new PostgreSQL major version - you can happily skip some and do a larger update every few years.I wouldn't be specific about when to update. Every few years seems a bit long. 😉
@@ -89,0 +108,4 @@In fact, we recommend to do so right from the start to be independent of major sub-chart dependency changes as they are released.There is no need to update to every new PostgreSQL major version - you can happily skip some and do a larger update every few years.We recommend to use a rolling tag like `:<majorVersion>-debian-11` to incorporate minor and patch updates for the respective major version as they are released.We probably shouldn't refer to a OS-specific image. Otherwise, we should update the reference now and then. Maybe simply referring to
:<majorVersion>?This is the image the Bitnami chart uses. I would prefer to link users to it to avoid them using the official PG image - for compatibility with the bitnami chart. There are reasons why Bitnami maintains their own PG images.
We could variabalize the
11but I wouldn't want to be too generic here with the image recommendation.Absolutely. We should prevent any confusion. We could directly link to the DockerHub tag list site of the respective pgsql image. There is also the
:<majorVersion>tag available.@@ -89,0 +114,4 @@Please double-check the image repository and available tags in the sub-chart:- [PostgreSQL-HA](https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/values.yaml#L106-L107)- [Redis Cluster](https://github.com/bitnami/charts/blob/d6059e1cfa130e3f206976c412ee41c69532ed2f/bitnami/redis-cluster/values.yaml#L75-L76)Intentional to use the permalink for redis-cluster but the main branch for pgsql-ha?
If not, this is the permalink for pgsql-ha:
https://github.com/bitnami/charts/blob/b51288a469c1e42dac2ee2b3f26f1951eebf741f/bitnami/postgresql-ha/values.yaml#L106-L107Good catch. Not intentional. I think the the dynamic link is better here. Yes, line numbers might change but linking to an old version might also confuse users.
@@ -1054,0 +1091,4 @@- Update PostgreSQL sub-chart dependencies to appVersion 16.x- Update to sub-charts versioning approach: Users are encouraged to pin the version tag of the sub-chart dependencies to a major appVersion.This avoids issues during chart upgrades and allows to incorporate new sub-chart versions as they come in. Please see the new [README section describing the versioning approach for sub-chart versions](#dependency-versioning).LGTM 👍