mirror of
https://github.com/mastodon/chart
synced 2025-05-17 20:43:21 +00:00
Switch from static resources to dynamic via values
This commit is contained in:
parent
e06be9178e
commit
1aa6b2dfd6
|
@ -47,10 +47,10 @@ spec:
|
|||
- name: {{ include "mastodon.fullname" . }}-deploy-search
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
{{- with .Values.mastodon.hooks.deploySearch.resources }}
|
||||
resources:
|
||||
requests:
|
||||
cpu: 700m
|
||||
memory: 768Mi
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
command:
|
||||
- bin/tootctl
|
||||
- search
|
||||
|
|
|
@ -40,6 +40,11 @@ mastodon:
|
|||
concurrency: 5
|
||||
resetChewy: true
|
||||
only: "" # one index name. Possible values: instances, accounts, tags, statuses, public_statuses
|
||||
resources:
|
||||
requests:
|
||||
cpu: 700m
|
||||
memory: 768Mi
|
||||
|
||||
# Upload website assets to S3 before deploying using rclone.
|
||||
# Whenever there is an update to Mastodon, sometimes there are assets files
|
||||
# that are renamed. As the pods are getting redeployed, and old/new pods are
|
||||
|
|
Loading…
Reference in New Issue
Block a user