Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117748390
prometheus-ingress.yaml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
prometheus-ingress.yaml
View Options
{{
- if .Values.prometheus.enabled -
}}
{{
- if not .Values.openshift -
}}
apiVersion
:
networking.k8s.io/v1
kind
:
Ingress
metadata
:
name
:
prometheus
annotations
:
ingress.kubernetes.io/ssl-redirect
:
"false"
ingress.class
:
"haproxy"
# haproxy.org/path-rewrite: "/"
haproxy.org/path-rewrite
:
/prometheus/(.*) /\1
haproxy.org/auth-type
:
basic-auth
haproxy.org/auth-secret
:
prometheus-credentials
spec
:
ingressClassName
:
haproxy
tls
:
{{
- $secretName
:
= include "kolab.tlsSecretName" .
}}
-
secretName
:
{{
default .Values.ingress.tlsSecretName $secretName
}}
hosts
:
-
"admin.{{
include
"
kolab.websiteDomain" . }}"
rules
:
-
host
:
"admin.{{
include
"
kolab.websiteDomain" . }}"
http
:
paths
:
-
path
:
"/prometheus"
pathType
:
Prefix
backend
:
service
:
name
:
prometheus
port
:
name
:
9090-tcp
---
kind
:
Secret
apiVersion
:
v1
metadata
:
name
:
prometheus-credentials
immutable
:
false
stringData
:
"{{
.Values.externalServiceUser
}}"
:
"{{
.Values.externalServiceUserPassword
}}"
{{
- end
}}
{{
- end
}}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 4, 12:58 AM (3 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
e4/3d/dd6d64670d3c415c4af08c01f6ca
Default Alt Text
prometheus-ingress.yaml (1 KB)
Attached To
Mode
R114 kolab-infrastructure
Attached
Detach File
Event Timeline