3
0
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:
Tim Campbell 2025-03-04 17:59:27 +01:00
parent 0ddba8c4e8
commit 43b6819801

View File

@ -220,6 +220,11 @@ spec:
value: "true"
{{- 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:
{{- if (not $context.Values.mastodon.s3.enabled) }}
- name: assets