change ingress to tailscale

This commit is contained in:
2024-08-17 21:27:01 -05:00
parent 76113ca673
commit 784a0f6b8c
2 changed files with 10 additions and 14 deletions

View File

@@ -314,7 +314,7 @@ homepage:
- Dashboard:
icon: grafana.png
description: Grafana
href: https://grafana.alexlebens.net
href: https://grafana-cl01tl.boreal-beaufort.ts.net
siteMonitor: https://grafana.alexlebens.net
statusStyle: dot
- Metrics:

View File

@@ -6,17 +6,13 @@ grafana:
enabled: true
ingress:
enabled: true
ingressClassName: traefik
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
cert-manager.io/cluster-issuer: letsencrypt-issuer
ingressClassName: tailscale
hosts:
- grafana.alexlebens.net
- grafana-cl01tl
tls:
- secretName: grafana-secret-tls
- secretName: grafana-cl01tl
hosts:
- grafana.alexlebens.net
- grafana-cl01tl
persistence:
enabled: true
storageClassName: ceph-block
@@ -131,20 +127,20 @@ grafana:
check_for_updates: false
server:
domain: alexlebens.net
root_url: https://grafana.alexlebens.net
root_url: https://grafana-cl01tl.boreal-beaufort.ts.net
users:
auto_assign_org: true
auto_assign_org_id: 1
auth:
disable_login_form: true
oauth_auto_login: true
signout_redirect_url: https://authentik.alexlebens.net/application/o/grafana/end-session/
signout_redirect_url: https://auth-cl01tl.boreal-beaufort.ts.net/application/o/grafana/end-session/
auth.generic_oauth:
enabled: true
name: Authentik
allow_sign_up: true
scopes: openid profile email
auth_url: https://authentik.alexlebens.net/application/o/authorize/
token_url: https://authentik.alexlebens.net/application/o/token/
api_url: https://authentik.alexlebens.net/application/o/userinfo/
auth_url: https://auth-cl01tl.boreal-beaufort.ts.net/application/o/authorize/
token_url: https://auth-cl01tl.boreal-beaufort.ts.net/application/o/token/
api_url: https://auth-cl01tl.boreal-beaufort.ts.net/application/o/userinfo/
role_attribute_path: contains(groups, 'Grafana Admins') && 'Admin' || contains(groups, 'Grafana Editors') && 'Editor' || 'Viewer'