mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Add official ingressmonitorcontroller chart Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com> * Remove trailing space from values.yaml in ingressmonitorcontroller chart Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com> * Update chart.yaml in ingressmonitorcontroller chart Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com> * Implement chart review comments Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com> * Fix cluster role api version Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com> * Add labels in rbac Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com> * Update api version of deployment Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
36 lines
1.3 KiB
YAML
36 lines
1.3 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
{{- if .Values.ingressMonitorController.useFullName }}
|
|
name: {{ template "fullname" . }}
|
|
{{- else }}
|
|
name: {{ template "name" . }}
|
|
{{- end }}
|
|
annotations:
|
|
{{- if .Values.ingressMonitorController.config.annotations }}
|
|
{{ toYaml .Values.ingressMonitorController.config.annotations | indent 4 }}
|
|
{{- end }}
|
|
labels:
|
|
app: {{ template "name" . }}
|
|
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
|
release: {{ .Release.Name | quote }}
|
|
heritage: {{ .Release.Service | quote }}
|
|
{{- if .Values.ingressMonitorController.config.labels }}
|
|
{{ toYaml .Values.ingressMonitorController.config.labels | indent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.ingressMonitorController.matchLabels }}
|
|
{{ toYaml .Values.ingressMonitorController.matchLabels | indent 4 }}
|
|
{{- end }}
|
|
data:
|
|
config.yaml: |-
|
|
providers:
|
|
{{- range .Values.ingressMonitorController.providers }}
|
|
- name: {{ .name }}
|
|
apiKey: {{ .apiKey }}
|
|
apiURL: {{ .apiURL }}
|
|
username: {{ .username | default "null" }}
|
|
password: {{ .password | default "null" }}
|
|
alertContacts: {{ .alertContacts }}
|
|
{{- end }}
|
|
enableMonitorDeletion: {{ .Values.ingressMonitorController.enableMonitorDeletion }}
|
|
monitorNameTemplate: "{{ .Values.ingressMonitorController.monitorNameTemplate }}" |