Compare commits
3 Commits
hookshot-0
...
matrix-hoo
Author | SHA1 | Date | |
---|---|---|---|
08b0782645 | |||
9f7f83a40a | |||
b3f9c93fcb |
@@ -1,9 +1,10 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: hookshot
|
name: matrix-hookshot
|
||||||
version: 0.0.1
|
version: 0.0.4
|
||||||
description: Chart for Matrix Hookshot
|
description: Chart for Matrix Hookshot
|
||||||
keywords:
|
keywords:
|
||||||
- matrix
|
- matrix
|
||||||
|
- matrix-hookshot
|
||||||
- webhook
|
- webhook
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/matrix-org/matrix-hookshot
|
- https://github.com/matrix-org/matrix-hookshot
|
||||||
|
@@ -22,7 +22,7 @@ spec:
|
|||||||
- host: {{ .Values.ingress.webhook.host }}
|
- host: {{ .Values.ingress.webhook.host }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /webhook/
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
|
23
charts/matrix-hookshot/templates/service-monitor.yaml
Normal file
23
charts/matrix-hookshot/templates/service-monitor.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{{- if and .Values.metrics.enabled .Values.metrics.serviceMonitor.enabled }}
|
||||||
|
apiVersion: monitoring.coreos.com/v1
|
||||||
|
kind: ServiceMonitor
|
||||||
|
metadata:
|
||||||
|
name: matrix-hookshot
|
||||||
|
namespace: {{ .Release.Namespace }}
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: matrix-hookshot
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
app.kubernetes.io/version: {{ .Chart.AppVersion }}
|
||||||
|
app.kubernetes.io/component: web
|
||||||
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
|
spec:
|
||||||
|
endpoints:
|
||||||
|
- port: metrics
|
||||||
|
interval: {{ .Values.metrics.serviceMonitor.interval }}
|
||||||
|
scrapeTimeout: {{ .Values.metrics.serviceMonitor.scrapeTimeout }}
|
||||||
|
path: /metrics
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: matrix-hookshot
|
||||||
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||||
|
{{- end }}
|
@@ -33,6 +33,12 @@ ingress:
|
|||||||
className: ""
|
className: ""
|
||||||
annotations: {}
|
annotations: {}
|
||||||
host: ""
|
host: ""
|
||||||
|
metrics:
|
||||||
|
enabled: false
|
||||||
|
serviceMonitor:
|
||||||
|
enabled: false
|
||||||
|
interval: 15s
|
||||||
|
scrapeTimeout: 5s
|
||||||
|
|
||||||
# Reference the following for examples
|
# Reference the following for examples
|
||||||
# https://matrix-org.github.io/matrix-hookshot/latest/setup/sample-configuration.html
|
# https://matrix-org.github.io/matrix-hookshot/latest/setup/sample-configuration.html
|
||||||
|
Reference in New Issue
Block a user