This commit is contained in:
2024-01-24 17:26:37 +01:00
parent 6b4f66343b
commit e39abcbd95
2 changed files with 37 additions and 37 deletions

View File

@@ -22,7 +22,7 @@ domain = ''
root_url = 'https://${local.dns-name}/' root_url = 'https://${local.dns-name}/'
[users] [users]
auto_assign_org = true auto_assign_org = true
auto_assign_org_id = 0 auto_assign_org_id = 1
[auth] [auth]
oauth_allow_insecure_email_lookup = true oauth_allow_insecure_email_lookup = true
signout_redirect_url = '${module.oauth2.sso_signout_url}' signout_redirect_url = '${module.oauth2.sso_signout_url}'
@@ -31,7 +31,7 @@ oauth_auto_login = true
enabled = true enabled = true
name = vynil name = vynil
scopes = openid profile email scopes = openid profile email
${var.issuer=="letsencrypt-prod"?"#":""}tls_client_ca = /etc/local-certs/ca.crt ${var.issuer=="letsencrypt-prod"?";":""}tls_client_ca = /etc/local-certs/ca.crt
client_id = '${module.oauth2.client_id}' client_id = '${module.oauth2.client_id}'
client_secret = '${module.oauth2.client_secret}' client_secret = '${module.oauth2.client_secret}'
auth_url = '${module.oauth2.sso_authorize_url}' auth_url = '${module.oauth2.sso_authorize_url}'

View File

@@ -6,41 +6,6 @@ metadata:
name: grafana name: grafana
description: null description: null
options: options:
admin_name:
default: grafana_admin
examples:
- grafana_admin
type: string
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
domain:
default: your-company
examples:
- your-company
type: string
sub-domain:
default: grafana
examples:
- grafana
type: string
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
app-group:
default: monitor
examples:
- monitor
type: string
images: images:
default: default:
busybox: busybox:
@@ -138,6 +103,16 @@ options:
type: string type: string
type: object type: object
type: object type: object
issuer:
default: letsencrypt-prod
examples:
- letsencrypt-prod
type: string
sub-domain:
default: grafana
examples:
- grafana
type: string
volume: volume:
default: default:
accessMode: ReadWriteOnce accessMode: ReadWriteOnce
@@ -157,6 +132,31 @@ options:
default: 10Gi default: 10Gi
type: string type: string
type: object type: object
domain-name:
default: your_company.com
examples:
- your_company.com
type: string
app-group:
default: monitor
examples:
- monitor
type: string
ingress-class:
default: traefik
examples:
- traefik
type: string
admin_name:
default: grafana_admin
examples:
- grafana_admin
type: string
domain:
default: your-company
examples:
- your-company
type: string
dependencies: [] dependencies: []
providers: providers:
kubernetes: true kubernetes: true