Add cert_mode to know when to gen or pull certs

This commit is contained in:
Owen
2026-09-09 11:48:17 -04:00
parent 073bfb32e9
commit 3421441635
6 changed files with 43 additions and 23 deletions
+1 -1
View File
@@ -358,7 +358,7 @@ export class TraefikConfigManager {
this.lastActiveDomains = new Set(domains);
}
if (process.env.USE_PANGOLIN_DNS === "true" && build != "oss") {
if (process.env.CERT_MODE === "pangolin" && build != "oss") {
// Scan current local certificate state
this.lastLocalCertificateState =
await this.scanLocalCertificateState();