mirror of
https://github.com/zoriya/snow.git
synced 2025-12-05 23:06:23 +00:00
Move grafana to otel ns
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: grafana
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: grafana
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: false
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
source:
|
||||
repoURL: https://github.com/zoriya/snow
|
||||
targetRevision: HEAD
|
||||
path: apps/grafana
|
||||
@@ -7,6 +7,7 @@ metadata:
|
||||
spec:
|
||||
config:
|
||||
log:
|
||||
level: debug
|
||||
mode: "console"
|
||||
auth:
|
||||
disable_login_form: "false"
|
||||
@@ -24,7 +25,8 @@ spec:
|
||||
auth_url: "https://authentik.sdg.moe/application/o/authorize/"
|
||||
token_url: "https://authentik.sdg.moe/application/o/token/"
|
||||
api_url: "https://authentik.sdg.moe/application/o/userinfo/"
|
||||
role_attribute_path: 'Admin' #contains(groups, 'Grafana Admins') && 'Admin' || contains(groups, 'Grafana Editors') && 'Editor' || 'Viewer'
|
||||
role_attribute_path: contains(groups[*], 'admins') && 'GrafanaAdmin' || 'Editor'
|
||||
allow_assign_grafana_admin: "true"
|
||||
|
||||
persistentVolumeClaim:
|
||||
spec:
|
||||
Reference in New Issue
Block a user