mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-16 10:15:05 +00:00
fix(database): auto-generate missing CA cert on SSL regeneration
Prevent null CA certificate access during database SSL certificate regeneration across KeyDB, MariaDB, MongoDB, MySQL, PostgreSQL, and Redis components. If no CA certificate exists, attempt to generate one and re-query; if still missing, dispatch a clear error and stop regeneration gracefully. Add `SslCertificateRegenerationTest` coverage for missing-CA and CA-query scenarios to prevent regressions.
This commit is contained in:
1 parent
eb3d88a9ea
commit
850c37bedd
11 files changed
+223
-10
No files matched your search
+16
-2
@@ -1755,8 +1755,7 @@ paths:
|
||||
description: 'Escape special characters in labels. By default, $ (and other chars) is escaped. So if you write $ in the labels, it will be saved as $$. If you want to use env variables inside the labels, turn this off.'
|
||||
is_preserve_repository_enabled:
|
||||
type: boolean
|
||||
default: false
|
||||
description: 'Preserve repository during deployment.'
|
||||
description: 'Preserve git repository during application update. If false, the existing repository will be removed and replaced with the new one. If true, the existing repository will be kept and the new one will be ignored. Default is false.'
|
||||
type: object
|
||||
responses:
|
||||
'200':
|
||||
@@ -4711,6 +4710,18 @@ paths:
|
||||
description: 'Pull Request Id for deploying specific PR builds. Cannot be used with tag parameter.'
|
||||
schema:
|
||||
type: integer
|
||||
-
|
||||
name: pull_request_id
|
||||
in: query
|
||||
description: 'Preview deployment identifier. Alias of pr.'
|
||||
schema:
|
||||
type: integer
|
||||
-
|
||||
name: docker_tag
|
||||
in: query
|
||||
description: 'Docker image tag for Docker Image preview deployments. Requires pull_request_id.'
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: "Get deployment(s) UUID's"
|
||||
@@ -8106,6 +8117,9 @@ components:
|
||||
type: string
|
||||
pull_request_id:
|
||||
type: integer
|
||||
docker_registry_image_tag:
|
||||
type: string
|
||||
nullable: true
|
||||
force_rebuild:
|
||||
type: boolean
|
||||
commit:
|
||||
|
||||
Reference in new issue
Block a user