Skip to content

Commit 3647e87

Browse files
committed
Removed references to nonexisting defaults.
1 parent 5f093ad commit 3647e87

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

templates/deployment-sidekiq.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ spec:
123123
mountPath: /opt/mastodon/public/system
124124
{{- end }}
125125
resources:
126-
{{- toYaml (default (default $context.Values.resources $context.Values.mastodon.sidekiq.resources) .resources) | nindent 12 }}
126+
{{- toYaml (default $context.Values.mastodon.sidekiq.resources .resources) | nindent 12 }}
127127
{{- with $context.Values.nodeSelector }}
128128
nodeSelector:
129129
{{- toYaml . | nindent 8 }}

templates/deployment-streaming.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
7070
httpGet:
7171
path: /api/v1/streaming/health
7272
port: streaming
73-
{{- with (default .Values.resources .Values.mastodon.streaming.resources) }}
73+
{{- with .Values.mastodon.streaming.resources }}
7474
resources:
7575
{{- toYaml . | nindent 12 }}
7676
{{- end }}

templates/deployment-web.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ spec:
110110
port: http
111111
failureThreshold: 30
112112
periodSeconds: 5
113-
{{- with (default .Values.resources .Values.mastodon.web.resources) }}
113+
{{- with .Values.mastodon.web.resources }}
114114
resources:
115115
{{- toYaml . | nindent 12 }}
116116
{{- end }}

0 commit comments

Comments
 (0)