fix: prevent deletion of ingress to reduce cert-manager issues

This commit is contained in:
biersoeckli
2025-11-09 13:10:12 +00:00
parent 55582e220a
commit 54bf89d059
@@ -125,7 +125,8 @@ export class BaseDbToolService {
const existingIngress = await ingressService.getIngressByName(projectId, toolAppName);
if (existingIngress) {
await k3s.network.deleteNamespacedIngress(KubeObjectNameUtils.getIngressName(toolAppName), projectId);
// do not delete ingress to reduce cert-manager issues --> todo; add cleanup function in maintenance section
//await k3s.network.deleteNamespacedIngress(KubeObjectNameUtils.getIngressName(toolAppName), projectId);
}
}
@@ -168,7 +169,7 @@ export class BaseDbToolService {
],
tls: [{
hosts: [hostname],
secretName: `secret-tls-${hostname}`.substring(0, 63)
secretName: `sec-tls-${hostname}`
}],
},
};