Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
feat(metrics): forward port
Browse files Browse the repository at this point in the history
  • Loading branch information
WrenIX committed Oct 26, 2023
1 parent f8a9a8f commit 2d9833c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 0.23.2
description: A Matrix-Signal puppeting bridge.
name: mautrix-signal
version: 0.2.1
version: 0.3.0
type: application
keywords:
- synapse
Expand Down
5 changes: 5 additions & 0 deletions templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ spec:
- name: http
containerPort: {{ required "need config.appservice.port" .Values.config.appservice.port }}
protocol: TCP
{{- if .Values.config.metrics.enabled }}
- name: metrics
containerPort: {{ .Values.config.metrics.listen_port }}
protocol: TCP
{{- end }}
{{- with .Values.probes.liveness }}
livenessProbe:
httpGet:
Expand Down
6 changes: 6 additions & 0 deletions templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- if .Values.config.metrics.enabled }}
- port: {{ .Values.config.metrics.listen_port }}
targetPort: metrics
protocol: TCP
name: metrics
{{- end }}
selector:
{{- include "mautrix-signal.selectorLabels" . | nindent 4 }}
{{- end }}
Expand Down

0 comments on commit 2d9833c

Please sign in to comment.