From b73536f79e54ba779f3ab1451914e762c0ed6ec7 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Sun, 1 Oct 2023 03:41:49 +0200
Subject: [PATCH] docs(mastodon): Fix claim about emptyDir

It's actually possible to use emptyDir, but only with the correct medium
therefore this new release adjust the documentation in values.yaml
---
 charts/mastodon/Chart.yaml  | 2 +-
 charts/mastodon/README.md   | 2 +-
 charts/mastodon/values.yaml | 5 +++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/charts/mastodon/Chart.yaml b/charts/mastodon/Chart.yaml
index deba215fd..09fde1c4d 100644
--- a/charts/mastodon/Chart.yaml
+++ b/charts/mastodon/Chart.yaml
@@ -17,7 +17,7 @@ annotations:
     - name: support
       url: https://matrix.to/#/#mastodon-on-kubernetes:shivering-isles.com
 type: application
-version: 7.1.0
+version: 7.1.1
 kubeVersion: ">= 1.23"
 # renovate: image=ghcr.io/mastodon/mastodon
 appVersion: "v4.1.9"
diff --git a/charts/mastodon/README.md b/charts/mastodon/README.md
index 53234fc15..f3eab429c 100644
--- a/charts/mastodon/README.md
+++ b/charts/mastodon/README.md
@@ -1,6 +1,6 @@
 # mastodon
 
-![Version: 7.1.0](https://img.shields.io/badge/Version-7.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.1.9](https://img.shields.io/badge/AppVersion-v4.1.9-informational?style=flat-square)
+![Version: 7.1.1](https://img.shields.io/badge/Version-7.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.1.9](https://img.shields.io/badge/AppVersion-v4.1.9-informational?style=flat-square)
 
 Mastodon is a free, open-source social network server based on ActivityPub.
 
diff --git a/charts/mastodon/values.yaml b/charts/mastodon/values.yaml
index 5648141e2..dc2f44511 100644
--- a/charts/mastodon/values.yaml
+++ b/charts/mastodon/values.yaml
@@ -86,8 +86,9 @@ mastodon:
       readOnlyRootFilesystem: true
     # -- temporary volume template required for read-only root filesystem
     temporaryVolumeTemplate:
-      # emptydir is currently not possible due to  permissions issue with Ruby: https://microblog.shivering-isles.com/@sheogorath/111040613569754423
-      # emptydir: {}
+      # emptydir is currently limited to medium Memory due to a Ruby special handling of temporary directories: https://shivering-isles.com/about-read-only-containers-ruby-and-emptydir
+      # emptydir:
+      #   medium: Memory
       ephemeral:
         volumeClaimTemplate:
           spec:
-- 
GitLab