mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 21:09:05 +01:00
f817ac5240
If there is an external service like an AuthAPI that can generate JWTs and hand them over to ClusterCockpit via cookies, CC can be configured to accept them
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"addr": "0.0.0.0:443",
|
|
"ldap": {
|
|
"url": "ldaps://test",
|
|
"user_base": "ou=people,ou=hpc,dc=test,dc=de",
|
|
"search_dn": "cn=hpcmonitoring,ou=roadm,ou=profile,ou=hpc,dc=test,dc=de",
|
|
"user_bind": "uid={username},ou=people,ou=hpc,dc=test,dc=de",
|
|
"user_filter": "(&(objectclass=posixAccount)(uid=*))"
|
|
},
|
|
"https-cert-file": "/etc/letsencrypt/live/url/fullchain.pem",
|
|
"https-key-file": "/etc/letsencrypt/live/url/privkey.pem",
|
|
"user": "clustercockpit",
|
|
"group": "clustercockpit",
|
|
"archive": {
|
|
"kind": "file",
|
|
"path": "./var/job-archive"
|
|
},
|
|
"clusters": [
|
|
{
|
|
"name": "test",
|
|
"metricDataRepository": {
|
|
"kind": "cc-metric-store",
|
|
"url": "http://localhost:8082",
|
|
"token": "eyJhbGciOiJF-E-pQBQ"
|
|
},
|
|
"filterRanges": {
|
|
"numNodes": { "from": 1, "to": 64 },
|
|
"duration": { "from": 0, "to": 86400 },
|
|
"startTime": { "from": "2022-01-01T00:00:00Z", "to": null }
|
|
}
|
|
}
|
|
],
|
|
"jwts": {
|
|
"cookieName": "",
|
|
"forceJWTValidationViaDatabase": false,
|
|
"max-age": 0,
|
|
"trustedExternalIssuer": ""
|
|
}
|
|
}
|