fix(mautrix-signal): drop of metrics (see https://github.com/mautrix/signal/issues/532
This commit is contained in:
parent
47589dca29
commit
1832176782
6 changed files with 2 additions and 63 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: mautrix-signal
|
name: mautrix-signal
|
||||||
description: A Matrix-Signal puppeting bridge.
|
description: A Matrix-Signal puppeting bridge.
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.9
|
version: 0.0.10
|
||||||
# renovate: image=dock.mau.dev/mautrix/signal
|
# renovate: image=dock.mau.dev/mautrix/signal
|
||||||
appVersion: "0.7.0"
|
appVersion: "0.7.0"
|
||||||
maintainers:
|
maintainers:
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
= mautrix-signal
|
= mautrix-signal
|
||||||
|
|
||||||
image::https://img.shields.io/badge/Version-0.0.9-informational?style=flat-square[Version: 0.0.9]
|
image::https://img.shields.io/badge/Version-0.0.10-informational?style=flat-square[Version: 0.0.10]
|
||||||
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
image::https://img.shields.io/badge/Version-application-informational?style=flat-square[Type: application]
|
||||||
image::https://img.shields.io/badge/AppVersion-0.7.0-informational?style=flat-square[AppVersion: 0.7.0]
|
image::https://img.shields.io/badge/AppVersion-0.7.0-informational?style=flat-square[AppVersion: 0.7.0]
|
||||||
== Maintainers
|
== Maintainers
|
||||||
|
@ -605,16 +605,6 @@ helm uninstall mautrix-signal-release
|
||||||
| `false`
|
| `false`
|
||||||
| Should the bridge update the m.direct account data event when double puppeting is enabled. Note that updating the m.direct event is not atomic (except with mautrix-asmux) and is therefore prone to race conditions.
|
| Should the bridge update the m.direct account data event when double puppeting is enabled. Note that updating the m.direct event is not atomic (except with mautrix-asmux) and is therefore prone to race conditions.
|
||||||
|
|
||||||
| config.metrics.enabled
|
|
||||||
| bool
|
|
||||||
| `true`
|
|
||||||
| Enable prometheus metrics?
|
|
||||||
|
|
||||||
| config.metrics.listen
|
|
||||||
| string
|
|
||||||
| `"0.0.0.0:8000"`
|
|
||||||
| IP and port where the metrics listener should be. The path is always /metrics
|
|
||||||
|
|
||||||
| config.provisioning.debug_endpoints
|
| config.provisioning.debug_endpoints
|
||||||
| bool
|
| bool
|
||||||
| `false`
|
| `false`
|
||||||
|
@ -835,16 +825,6 @@ helm uninstall mautrix-signal-release
|
||||||
| `{}`
|
| `{}`
|
||||||
|
|
|
|
||||||
|
|
||||||
| prometheus.servicemonitor.enabled
|
|
||||||
| bool
|
|
||||||
| `false`
|
|
||||||
|
|
|
||||||
|
|
||||||
| prometheus.servicemonitor.labels
|
|
||||||
| object
|
|
||||||
| `{}`
|
|
||||||
|
|
|
||||||
|
|
||||||
| readinessProbe.httpGet.path
|
| readinessProbe.httpGet.path
|
||||||
| string
|
| string
|
||||||
| `"/_matrix/mau/ready"`
|
| `"/_matrix/mau/ready"`
|
||||||
|
|
|
@ -43,11 +43,6 @@ spec:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: {{ .Values.config.appservice.port }}
|
containerPort: {{ .Values.config.appservice.port }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
{{- if .Values.config.metrics.enabled }}
|
|
||||||
- name: metrics
|
|
||||||
containerPort: {{ regexSplit ":" .Values.config.metrics.listen -1 | last }}
|
|
||||||
protocol: TCP
|
|
||||||
{{- end }}
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
|
|
@ -15,10 +15,4 @@ spec:
|
||||||
targetPort: http
|
targetPort: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
name: http
|
name: http
|
||||||
{{- if .Values.config.metrics.enabled }}
|
|
||||||
- port: {{ regexSplit ":" .Values.config.metrics.listen -1 | last }}
|
|
||||||
targetPort: metrics
|
|
||||||
protocol: TCP
|
|
||||||
name: metrics
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
{{- if and .Values.prometheus.servicemonitor.enabled ( .Capabilities.APIVersions.Has "monitoring.coreos.com/v1" ) }}
|
|
||||||
apiVersion: monitoring.coreos.com/v1
|
|
||||||
kind: ServiceMonitor
|
|
||||||
metadata:
|
|
||||||
name: {{ include "mautrix-signal.fullname" . }}
|
|
||||||
labels:
|
|
||||||
{{- include "mautrix-signal.labels" . | nindent 4 }}
|
|
||||||
{{- with .Values.prometheus.servicemonitor.labels }}
|
|
||||||
{{- toYaml . | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
spec:
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
{{- include "mautrix-signal.selectorLabels" . | nindent 6 }}
|
|
||||||
endpoints:
|
|
||||||
- port: metrics
|
|
||||||
path: /metrics
|
|
||||||
{{- end }}
|
|
|
@ -407,13 +407,6 @@ config:
|
||||||
# -- Optional extra text sent when joining a management room.
|
# -- Optional extra text sent when joining a management room.
|
||||||
additional_help: ""
|
additional_help: ""
|
||||||
|
|
||||||
# Prometheus config.
|
|
||||||
metrics:
|
|
||||||
# -- Enable prometheus metrics?
|
|
||||||
enabled: true
|
|
||||||
# -- IP and port where the metrics listener should be. The path is always /metrics
|
|
||||||
listen: 0.0.0.0:8000
|
|
||||||
|
|
||||||
signal:
|
signal:
|
||||||
# -- Displayname template for Signal users. This is also used as the room name in DMs if private_chat_portal_meta is enabled.
|
# -- Displayname template for Signal users. This is also used as the room name in DMs if private_chat_portal_meta is enabled.
|
||||||
# {{.ProfileName}} - The Signal profile name set by the user.
|
# {{.ProfileName}} - The Signal profile name set by the user.
|
||||||
|
@ -575,8 +568,3 @@ persistence:
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
# -- size
|
# -- size
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
|
|
||||||
prometheus:
|
|
||||||
servicemonitor:
|
|
||||||
enabled: false
|
|
||||||
labels: {}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue