Release version 0.2.0
This commit is contained in:
27
charts/user-monitoring/templates/_user-grafana-ingress.yaml
Normal file
27
charts/user-monitoring/templates/_user-grafana-ingress.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
{{- define "grafana.ingress" }}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
haproxy.org/auth-secret: basic-auth
|
||||
haproxy.org/auth-type: basic-auth
|
||||
haproxy.org/auth-realm: Authentication Required
|
||||
name: grafana
|
||||
spec:
|
||||
ingressClassName: haproxy
|
||||
rules:
|
||||
- host: {{ .Values.user }}-grafana.training.cluster.acend.ch
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: grafana
|
||||
port:
|
||||
number: 3000
|
||||
path: /
|
||||
pathType: ImplementationSpecific
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ .Values.user }}-grafana.training.cluster.acend.ch
|
||||
secretName: acend-wildcard
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user