From 6a2774c0edb6e43119b8238cbc23915d38f8948e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Wed, 24 Jan 2024 16:54:57 +0100 Subject: [PATCH] fix --- monitor/grafana/config.tf | 4 ---- monitor/grafana/index.yaml | 42 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 25 deletions(-) diff --git a/monitor/grafana/config.tf b/monitor/grafana/config.tf index 8f5fc4a..e02add4 100644 --- a/monitor/grafana/config.tf +++ b/monitor/grafana/config.tf @@ -26,10 +26,6 @@ auto_assign_org_id = 0 [auth] oauth_allow_insecure_email_lookup = true signout_redirect_url = '${module.oauth2.sso_signout_url}' -[auth.anonymous] -enabled = true -org_name = Main Org. -org_role = Viewer [auth.generic_oauth] enabled = true name = vynil diff --git a/monitor/grafana/index.yaml b/monitor/grafana/index.yaml index 3aa5534..984fb4a 100644 --- a/monitor/grafana/index.yaml +++ b/monitor/grafana/index.yaml @@ -6,15 +6,10 @@ metadata: name: grafana description: null options: - domain-name: - default: your_company.com + app-group: + default: monitor examples: - - your_company.com - type: string - domain: - default: your-company - examples: - - your-company + - monitor type: string images: default: @@ -113,6 +108,11 @@ options: type: string type: object type: object + sub-domain: + default: grafana + examples: + - grafana + type: string volume: default: accessMode: ReadWriteOnce @@ -132,30 +132,30 @@ options: default: 10Gi type: string type: object - app-group: - default: monitor - examples: - - monitor - type: string admin_name: default: grafana_admin examples: - grafana_admin type: string - issuer: - default: letsencrypt-prod - examples: - - letsencrypt-prod - type: string ingress-class: default: traefik examples: - traefik type: string - sub-domain: - default: grafana + domain-name: + default: your_company.com examples: - - grafana + - your_company.com + type: string + issuer: + default: letsencrypt-prod + examples: + - letsencrypt-prod + type: string + domain: + default: your-company + examples: + - your-company type: string dependencies: [] providers: