fix
This commit is contained in:
@@ -4,7 +4,6 @@ resource "kubernetes_config_map_v1" "config" {
|
||||
namespace = var.namespace
|
||||
labels = local.common-labels
|
||||
}
|
||||
|
||||
data = {
|
||||
"grafana.ini" = <<-EOF
|
||||
[analytics]
|
||||
@@ -25,7 +24,7 @@ root_url = 'https://${local.dns-name}/'
|
||||
enabled = true
|
||||
client_id = '${module.oauth2.client_id}'
|
||||
client_secret = '${module.oauth2.client_secret}'
|
||||
auth_url = '${module.oauth2.sso_configuration_url}'
|
||||
auth_url = '${module.oauth2.sso_authorize}'
|
||||
api_url = '${module.oauth2.sso_userinfo}'
|
||||
EOF
|
||||
}
|
||||
|
||||
@@ -6,10 +6,20 @@ metadata:
|
||||
name: grafana
|
||||
description: null
|
||||
options:
|
||||
sub-domain:
|
||||
default: grafana
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- grafana
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
ingress-class:
|
||||
default: traefik
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
app-group:
|
||||
default: monitor
|
||||
examples:
|
||||
- monitor
|
||||
type: string
|
||||
images:
|
||||
default:
|
||||
@@ -108,15 +118,10 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
ingress-class:
|
||||
default: traefik
|
||||
sub-domain:
|
||||
default: grafana
|
||||
examples:
|
||||
- traefik
|
||||
type: string
|
||||
admin_name:
|
||||
default: grafana_admin
|
||||
examples:
|
||||
- grafana_admin
|
||||
- grafana
|
||||
type: string
|
||||
volume:
|
||||
default:
|
||||
@@ -137,25 +142,20 @@ options:
|
||||
default: 10Gi
|
||||
type: string
|
||||
type: object
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
- your_company.com
|
||||
type: string
|
||||
app-group:
|
||||
default: monitor
|
||||
admin_name:
|
||||
default: grafana_admin
|
||||
examples:
|
||||
- monitor
|
||||
type: string
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
domain:
|
||||
default: your-company
|
||||
examples:
|
||||
- your-company
|
||||
- grafana_admin
|
||||
type: string
|
||||
dependencies: []
|
||||
providers:
|
||||
|
||||
Reference in New Issue
Block a user