-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional Helm Configuration options (#42)
* Add optional Prometheus operator ServiceMonitor * make Pod/Container SecurityContext configureable * Allow additional Pod labels/annotations * Allow additional Service labels * Allow overriding of Tolerations * remove hard-coded servicemonitor name use release name instead * fix readme podSecurityContext naming inconsistency * adjust casing in README and fix typos
- Loading branch information
Showing
5 changed files
with
63 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if .Values.serviceMonitor.enabled -}} | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
name: {{ include "name" . | quote }} | ||
namespace: {{ .Values.namespace }} | ||
labels: | ||
{{- toYaml .Values.serviceMonitor.labels | nindent 4}} | ||
spec: | ||
endpoints: | ||
- port: {{ .Values.service.name }} | ||
interval: 60s | ||
namespaceSelector: | ||
matchNames: | ||
- {{ .Values.namespace }} | ||
selector: | ||
matchLabels: | ||
{{ include "common-labels" . | indent 6 }} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters