grafana tls
This commit is contained in:
@@ -1,5 +1,13 @@
|
|||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
ingressClassName: traefik
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
|
tls:
|
||||||
|
- secretName: grafana-tls
|
||||||
|
hosts:
|
||||||
|
- grafana.forteapps.net
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
@@ -11,6 +19,25 @@ resources:
|
|||||||
adminUser: admin
|
adminUser: admin
|
||||||
adminPassword: "forte"
|
adminPassword: "forte"
|
||||||
|
|
||||||
|
envFromSecrets:
|
||||||
|
- name: grafana-oidc-credentials
|
||||||
|
|
||||||
|
grafana.ini:
|
||||||
|
server:
|
||||||
|
root_url: https://grafana.forteapps.net
|
||||||
|
auth.generic_oauth:
|
||||||
|
enabled: true
|
||||||
|
name: Forte SSO
|
||||||
|
allow_sign_up: true
|
||||||
|
client_id: ${client-id}
|
||||||
|
client_secret: ${client-secret}
|
||||||
|
scopes: openid email profile
|
||||||
|
auth_url: https://id.forteapps.net/realms/forte/protocol/openid-connect/auth
|
||||||
|
token_url: https://id.forteapps.net/realms/forte/protocol/openid-connect/token
|
||||||
|
api_url: https://id.forteapps.net/realms/forte/protocol/openid-connect/userinfo
|
||||||
|
role_attribute_path: ""
|
||||||
|
auto_login: false
|
||||||
|
|
||||||
datasources:
|
datasources:
|
||||||
datasources.yaml:
|
datasources.yaml:
|
||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|||||||
@@ -97,6 +97,25 @@ keycloakConfigCli:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"clientId": "grafana",
|
||||||
|
"name": "Grafana",
|
||||||
|
"enabled": true,
|
||||||
|
"protocol": "openid-connect",
|
||||||
|
"clientAuthenticatorType": "client-secret",
|
||||||
|
"standardFlowEnabled": true,
|
||||||
|
"directAccessGrantsEnabled": false,
|
||||||
|
"publicClient": false,
|
||||||
|
"redirectUris": ["https://grafana.forteapps.net/*"],
|
||||||
|
"webOrigins": ["https://grafana.forteapps.net"],
|
||||||
|
"attributes": {
|
||||||
|
"k8s.secret.sync": "true",
|
||||||
|
"k8s.secret.namespace": "monitoring",
|
||||||
|
"k8s.secret.name": "grafana-oidc-credentials",
|
||||||
|
"k8s.secret.client-id-key": "client-id",
|
||||||
|
"k8s.secret.client-secret-key": "client-secret"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user