This commit is contained in:
Alex Holliday committed 2026-09-11 12:07:45 -07:00
1 parent 912f1f960d
commit ba0d685c6d
2 files changed
+2 -3

No files matched your search

+2 -2
View File
@@ -128,9 +128,9 @@ const dockerSchema = baseSchema.extend({
ignoreTlsErrors: z.boolean(),
dockerTlsCa: z.string(),
dockerTlsCert: z.string(),
// Never prefilled; blank on edit keeps the stored key.
// blank on edit keeps the stored key.
dockerTlsKey: z.string(),
// Read-only mirror of the server flag; stripped by the server on submit.
// Read only mirror of the server flag, stripped on submit
dockerTlsKeySet: z.boolean(),
dockerLogsEnabled: z.boolean().register(monitorStepRegistry, { step: 1 }),
});
@@ -30,7 +30,6 @@ import { DOCKER_TLS_URL, isDockerTlsUrl } from "@/utils/dockerHost.js";
import { splitCertificateBundle } from "@/utils/pem.js";
type DockerodeType = typeof Dockerode;
// @types/dockerode omits agent and connectionTimeout; docker-modem forwards both
type DockerOptions = Dockerode.DockerOptions & { agent?: https.Agent; connectionTimeout?: number };
type TlsCredentials = { ok: true; key: string } | { ok: false; message: string };