This commit is contained in:
Oscar Krause 2025-04-22 07:32:05 +02:00
parent 3666e22707
commit dc783e6518
2 changed files with 4 additions and 5 deletions

View File

@ -535,9 +535,9 @@ Status endpoint, used for *healthcheck*.
Shows current runtime environment variables and their values.
**`GET /-/config/root-ca`**
**`GET /-/config/root-certificate`**
Returns the Root-CA Certificate which is used. This is required for patching `nvidia-gridd` on 18.x releases.
Returns the Root-Certificate Certificate which is used. This is required for patching `nvidia-gridd` on 18.x releases.
**`GET /-/readme`**

View File

@ -151,10 +151,9 @@ async def _config():
return Response(content=json_dumps(response), media_type='application/json', status_code=200)
@app.get('/-/config/root-ca', summary='* Root CA', description='returns Root-CA needed for patching nvidia-gridd')
@app.get('/-/config/root-certificate', summary='* Root Certificate', description='returns Root--Certificate needed for patching nvidia-gridd')
async def _config():
return Response(content=my_root_certificate.pem().decode('utf-8'), media_type='text/plain')
return Response(content=my_root_certificate.pem().decode('ascii'), media_type='text/plain')
@app.get('/-/readme', summary='* Readme')