From 278f14f08819452eb8e11f58ec6d8a871f1379bd Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Tue, 15 Nov 2022 12:05:34 +0100 Subject: [PATCH] fix(mastodon): fix variable scope for defaults --- charts/mastodon/Chart.yaml | 2 +- charts/mastodon/README.md | 2 +- charts/mastodon/templates/deployment-sidekiq.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/mastodon/Chart.yaml b/charts/mastodon/Chart.yaml index bb850c999..667bf4e40 100644 --- a/charts/mastodon/Chart.yaml +++ b/charts/mastodon/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.0.3 +version: 3.0.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/mastodon/README.md b/charts/mastodon/README.md index 6ab99d18a..ee5314c6b 100644 --- a/charts/mastodon/README.md +++ b/charts/mastodon/README.md @@ -1,6 +1,6 @@ # mastodon -   +   Mastodon is a free, open-source social network server based on ActivityPub. diff --git a/charts/mastodon/templates/deployment-sidekiq.yaml b/charts/mastodon/templates/deployment-sidekiq.yaml index 8180b62e2..47905321b 100644 --- a/charts/mastodon/templates/deployment-sidekiq.yaml +++ b/charts/mastodon/templates/deployment-sidekiq.yaml @@ -120,7 +120,7 @@ spec: mountPath: /opt/mastodon/public/system {{- end }} resources: - {{- toYaml (default (default $context.resources $context.mastodon.sidekiq.resources) .resources) | nindent 12 }} + {{- toYaml (default (default $context.Values.resources $context.Values.mastodon.sidekiq.resources) .resources) | nindent 12 }} {{- with $context.Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} -- GitLab