Skip to content

Commit 4bf70b4

Browse files
committed
Merge branch 'main' into ldap-password-secret
2 parents 7e4ebe2 + 2486b9a commit 4bf70b4

File tree

6 files changed

+23
-1
lines changed

6 files changed

+23
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ externalAuth:
99
key: password
1010
```
1111
12+
# 6.5.8
13+
14+
- Update the mastodon version to v4.4.8
15+
1216
# 6.5.7
1317
1418
- Updated all dependent chart images to bitnami legacy repositories.

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ version: 6.6.0
2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
23-
appVersion: "v4.4.7"
23+
appVersion: "v4.4.8"
2424

2525
dependencies:
2626
- name: elasticsearch

templates/configmap-env.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ metadata:
55
labels:
66
{{- include "mastodon.labels" . | nindent 4 }}
77
data:
8+
RAILS_LOG_LEVEL: {{ .Values.mastodon.logLevel.rails | default "info" }}
9+
LOG_LEVEL: {{ .Values.mastodon.logLevel.streaming | default "info" }}
810
DB_HOST: {{ template "mastodon.postgres.host" . }}
911
DB_PORT: {{ template "mastodon.postgres.port" . }}
1012
DB_NAME: {{ .Values.postgresql.auth.database }}

templates/pvc-assets.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ metadata:
55
name: {{ template "mastodon.fullname" . }}-assets
66
labels:
77
{{- include "mastodon.labels" . | nindent 4 }}
8+
{{- if .Values.mastodon.persistence.assets.keepAfterDelete }}
9+
annotations:
10+
helm.sh/hook-delete-policy: keep
11+
{{- end }}
812
spec:
913
accessModes:
1014
- {{ .Values.mastodon.persistence.assets.accessMode }}

templates/pvc-system.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ metadata:
55
name: {{ template "mastodon.fullname" . }}-system
66
labels:
77
{{- include "mastodon.labels" . | nindent 4 }}
8+
{{- if .Values.mastodon.persistence.system.keepAfterDelete }}
9+
annotations:
10+
helm.sh/hook-delete-policy: keep
11+
{{- end }}
812
spec:
913
accessModes:
1014
- {{ .Values.mastodon.persistence.system.accessMode }}

values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ image:
1111
pullPolicy: IfNotPresent
1212

1313
mastodon:
14+
logLevel:
15+
# Set log level for the web and Sidekiq processes.
16+
rails: info
17+
# Set log level for the streaming process.
18+
streaming: info
19+
1420
# Labels added to every Mastodon-related object
1521
labels: {}
1622
# Labes added to every deployed mastodon pod
@@ -139,13 +145,15 @@ mastodon:
139145
# scalability, since it requires the Rails and Sidekiq pods to run on the
140146
# same node.
141147
accessMode: ReadWriteOnce
148+
keepAfterDelete: true
142149
resources:
143150
requests:
144151
storage: 10Gi
145152
# -- name of existing persistent volume claim to use for assets
146153
existingClaim:
147154
system:
148155
accessMode: ReadWriteOnce
156+
keepAfterDelete: true
149157
resources:
150158
requests:
151159
storage: 100Gi

0 commit comments

Comments
 (0)