Update mysql chart from 6.x to 9.x #412
No reviewers
Labels
No Label
has
backport
in progress
invalid
kind
breaking
kind
bug
kind
build
kind
dependency
kind
deployment
kind
docs
kind
enhancement
kind
feature
kind
lint
kind
proposal
kind
question
kind
refactor
kind
security
kind
testing
kind
translation
kind
ui
need
backport
priority
critical
priority
low
priority
maybe
priority
medium
reviewed
duplicate
reviewed
invalid
reviewed
wontfix
skip-changelog
status
blocked
status
needs-feedback
status
needs-reviews
status
wip
upstream
gitea
upstream
other
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/helm-chart#412
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "update-mysql"
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?
In line with #391 and #407
Please see my comments below.
@ -6,2 +6,2 @@
repository: https://raw.githubusercontent.com/bitnami/charts/pre-2022/bitnami
version: 6.14.10
repository: oci://registry-1.docker.io/bitnamicharts
version: 9.5.2
Current version would be 9.7.0. Sorry for the delay. :D
@ -455,4 +455,1 @@
name: gitea
service:
port: 3306
persistence:
Based on version 6.14.10, this persistence override was never applied. It should've been
master.persistence.size
andslave.persistence.size
. Since it was never applied the default 8Gi are used.Specifying
primary.persistence.size
andsecondary.persistence.size
as 10Gi will change the size of the allocated storage. But since the Chart also changes their default (master+slave) to only one primary instance as default installation, they also use a different PVC name and everything must be migrated. So I am not fully sure if this is an actual breaking. But definitely noteworthy, I'd say.@ -451,3 +450,1 @@
password: gitea
db:
user: gitea
auth:
The current drone build seems to only render the Chart template for Postgres, which is enabled by default.
Running
helm template --set postgresql.enabled=false --set mysql.enabled=true gitea ./
on this branch causes an error:A unittest like below would for each DB type identifies rendering issues immediately, so we don't need an explicit
helm template
at all. But that is something for #409.@ -458,2 +456,2 @@
persistence:
size: 10Gi
ports:
mysql: 3306
mysql.service.ports.mysql
must bemysql.primary.service.ports.mysql
and secondary respectively. And the helpers.tpl files must be updated as well. Otherwise, the database configuration for app.ini would now renderHOST=gitea-mysql.default.svc.cluster.local:%!g(<nil>)
instead ofHOST=gitea-mysql.default.svc.cluster.local:3306
.Closed in favor of #417.
Pull request closed