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: - Dashboard:
icon: grafana.png icon: grafana.png
description: Grafana description: Grafana
href: https://grafana.alexlebens.net href: https://grafana-cl01tl.boreal-beaufort.ts.net
siteMonitor: https://grafana.alexlebens.net siteMonitor: https://grafana.alexlebens.net
statusStyle: dot statusStyle: dot
- Metrics: - Metrics:

View File

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