Skip to content
Snippets Groups Projects
Verified Commit 93ba5291 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(mastodon): Fix resources defaults for sidekiq deployments

This patch fixes the missing declaration of defaults for the
container resources in the sidekiq deployment. Rendering the
explicitly set resource requests and limits unused.
parent 79fc0d20
Branches
Tags
No related merge requests found
Pipeline #15873 passed
......@@ -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.2
version: 3.0.3
# 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
......
# mastodon
![Version: 3.0.2](https://img.shields.io/badge/Version-3.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.5.3](https://img.shields.io/badge/AppVersion-v3.5.3-informational?style=flat-square)
![Version: 3.0.3](https://img.shields.io/badge/Version-3.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.5.3](https://img.shields.io/badge/AppVersion-v3.5.3-informational?style=flat-square)
Mastodon is a free, open-source social network server based on ActivityPub.
......
......@@ -120,7 +120,7 @@ spec:
mountPath: /opt/mastodon/public/system
{{- end }}
resources:
{{- toYaml .resources | nindent 12 }}
{{- toYaml (default (default $context.resources $context.mastodon.sidekiq.resources) .resources) | nindent 12 }}
{{- with $context.Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment