mirror of
https://github.com/mastodon/chart
synced 2025-05-18 04:53:21 +00:00
Add port definition when using prometheus
This commit is contained in:
parent
0ddba8c4e8
commit
43b6819801
|
@ -220,6 +220,11 @@ spec:
|
||||||
value: "true"
|
value: "true"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if or $context.Values.mastodon.sidekiq.otel.enabled (and $context.Values.mastodon.otel.enabled (ne $context.Values.mastodon.sidekiq.otel.enabled false)) }}
|
||||||
|
ports:
|
||||||
|
- name: prometheus
|
||||||
|
containerPort: {{ .Values.mastodon.metrics.prometheus.port }}
|
||||||
|
{{- end }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- if (not $context.Values.mastodon.s3.enabled) }}
|
{{- if (not $context.Values.mastodon.s3.enabled) }}
|
||||||
- name: assets
|
- name: assets
|
||||||
|
|
Loading…
Reference in New Issue
Block a user