chore(helm): nginx-ingress-controller enabled metrics
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
4971d5ff25
commit
0100684faa
2 changed files with 9 additions and 27 deletions
|
|
@ -1,27 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: grafana
|
|
||||||
namespace: monitoring
|
|
||||||
annotations:
|
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
|
||||||
spec:
|
|
||||||
ingressClassName: "{{ tpl .Values.ingress.className . }}"
|
|
||||||
rules:
|
|
||||||
- host: {{ .Values.global.domainName }}
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: monitoring-grafana
|
|
||||||
port:
|
|
||||||
number: 80
|
|
||||||
path: /grafana/(.*)
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- {{ .Values.global.domainName }}
|
|
||||||
{{- if .Values.ingress.tls.secretName}}
|
|
||||||
secretName: {{ .Values.ingress.tls.secretName }}
|
|
||||||
{{- end}}
|
|
||||||
|
|
@ -63,6 +63,15 @@ ingress-nginx: &ingress-nginx
|
||||||
ingressClassResource:
|
ingressClassResource:
|
||||||
# -- Name of the ingressClass
|
# -- Name of the ingressClass
|
||||||
name: openreplay
|
name: openreplay
|
||||||
|
# Onlf if Metrics enabled
|
||||||
|
# metrics:
|
||||||
|
# enabled: true
|
||||||
|
# serviceMonitor:
|
||||||
|
# enabled: true
|
||||||
|
# additionalLabels:
|
||||||
|
# release: monitoring
|
||||||
|
# namespaceSelector:
|
||||||
|
# any: true
|
||||||
# -- For backwards compatibility with ingress.class annotation, use ingressClass.
|
# -- For backwards compatibility with ingress.class annotation, use ingressClass.
|
||||||
# Algorithm is as follows, first ingressClassName is considered, if not present, controller looks for ingress.class annotation
|
# Algorithm is as follows, first ingressClassName is considered, if not present, controller looks for ingress.class annotation
|
||||||
ingressClass: openreplay
|
ingressClass: openreplay
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue