[bitnami/mastodon] Avoid mkdir issue when restarting (#31183)

* [bitnami/mastodon] Avoid mkdir issue when restarting

Signed-off-by: David Gomez <dgomezleon@vmware.com>

* Update CHANGELOG.md

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

---------

Signed-off-by: David Gomez <dgomezleon@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
David Gomez
2024-12-30 12:56:12 +00:00
committed by GitHub
co-authored by Bitnami Containers
parent 668bd2772c
commit 3e3b6794ef
3 changed files with 8 additions and 3 deletions
+6 -1
View File
@@ -1,8 +1,13 @@
# Changelog
## 9.1.1 (2024-12-30)
* [bitnami/mastodon] Avoid mkdir issue when restarting ([#31183](https://github.com/bitnami/charts/pull/31183))
## 9.1.0 (2024-12-10)
* [bitnami/mastodon] Detect non-standard images ([#30921](https://github.com/bitnami/charts/pull/30921))
* [bitnami/*] Add Bitnami Premium to NOTES.txt (#30854) ([3dfc003](https://github.com/bitnami/charts/commit/3dfc00376df6631f0ce54b8d440d477f6caa6186)), closes [#30854](https://github.com/bitnami/charts/issues/30854)
* [bitnami/mastodon] Detect non-standard images (#30921) ([eea0814](https://github.com/bitnami/charts/commit/eea08143bfe95dfbd356d5f5fa8eb663b9bf130e)), closes [#30921](https://github.com/bitnami/charts/issues/30921)
## <small>9.0.5 (2024-12-03)</small>
+1 -1
View File
@@ -49,4 +49,4 @@ maintainers:
name: mastodon
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/mastodon
version: 9.1.0
version: 9.1.1
@@ -83,7 +83,7 @@ spec:
#!/bin/bash
# HACK: Mastodon does not allow having a /tmp directory world-writable, so we need to create a /tmp dir
# with more restricted permissions
mkdir /tmp/tmp-dir
mkdir -p /tmp/tmp-dir
{{- if .Values.defaultInitContainers.prepareDirs.resources }}
resources: {{- toYaml .Values.defaultInitContainers.prepareDirs.resources | nindent 12 }}
{{- else if ne .Values.defaultInitContainers.prepareDirs.resourcesPreset "none" }}