Moved grafana ingress to auth-proxy

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2024-04-06 13:23:52 +01:00
parent 27a86fd831
commit bdf95f0bf5
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
2 changed files with 11 additions and 28 deletions

View File

@ -26,6 +26,7 @@ spec:
- transmission.cluster.fun - transmission.cluster.fun
- tekton.cluster.fun - tekton.cluster.fun
- changedetection.cluster.fun - changedetection.cluster.fun
- grafana.cluster.fun
secretName: auth-proxy-ingress secretName: auth-proxy-ingress
rules: rules:
- host: downloads.cluster.fun - host: downloads.cluster.fun
@ -188,3 +189,13 @@ spec:
name: tailscale-proxy name: tailscale-proxy
port: port:
name: auth name: auth
- host: grafana.cluster.fun
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: tailscale-proxy
port:
name: auth

View File

@ -1,28 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: grafana
namespace: auth-proxy
labels:
app: grafana
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- grafana.cluster.fun
secretName: grafana-ingress
rules:
- host: grafana.cluster.fun
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: auth-proxy
port:
number: 80
---