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 }} |     {{- toYaml . | nindent 4 }} | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   name: {{ include "actions-runner-controller.serviceMonitorName" . }} |   name: {{ include "actions-runner-controller.serviceMonitorName" . }} | ||||||
|  |   namespace: {{ .Release.Namespace }} | ||||||
| spec: | spec: | ||||||
|   endpoints: |   endpoints: | ||||||
|     - path: /metrics |     - path: /metrics | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ metadata: | ||||||
|     {{- toYaml . | nindent 4 }} |     {{- toYaml . | nindent 4 }} | ||||||
|   {{- end }} |   {{- end }} | ||||||
|   name: {{ include "actions-runner-controller-github-webhook-server.serviceMonitorName" . }} |   name: {{ include "actions-runner-controller-github-webhook-server.serviceMonitorName" . }} | ||||||
|  |   namespace: {{ .Release.Namespace }} | ||||||
| spec: | spec: | ||||||
|   endpoints: |   endpoints: | ||||||
|     - path: /metrics |     - path: /metrics | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue