Allow customization of ServiceMonitor namespace for helm-template (#1491)
* Allow users to customize which namespace they deploy their service monitors into * Add missing metrics object reference * Update charts/actions-runner-controller/templates/githubwebhook.serviceMonitor.yaml * Update charts/actions-runner-controller/templates/controller.metrics.serviceMonitor.yaml * Update charts/actions-runner-controller/values.yaml Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
This commit is contained in:
parent
ea94b3cc5b
commit
48f62b4c89
|
|
@ -8,6 +8,7 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
name: {{ include "actions-runner-controller.serviceMonitorName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
endpoints:
|
||||
- path: /metrics
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ metadata:
|
|||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
name: {{ include "actions-runner-controller-github-webhook-server.serviceMonitorName" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
endpoints:
|
||||
- path: /metrics
|
||||
|
|
|
|||
Loading…
Reference in New Issue