1
0
Fork 0
home-stack-kustomize/kustomize/bases/prometheus/prometheus-ingress.yaml

26 lines
576 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: prometheus
labels:
app.kubernetes.io/name: prometheus
annotations:
# nginx.ingress.kubernetes.io/rewrite-target: /
# cert-manager.io/cluster-issuer: letsencrypt
spec:
# tls:
# - hosts:
# - ${prometheus_EXTERNAL_HOST}
# secretName: letsencrypt-cert
rules:
- host: ${PROMETHEUS_EXTERNAL_HOST}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: prometheus-operated
port:
name: web