Remove debug print statement from certInjector and update cert-manager dependency version

This commit is contained in:
suyiiyii 2025-03-21 11:01:05 +08:00
parent 4465018c15
commit a79eff18c6
Signed by: suyiiyii
GPG Key ID: 044704CB29B8AD85
2 changed files with 1 additions and 2 deletions

View File

@ -43,7 +43,6 @@ certInjector = lambda input: networkingv1.Ingress | any {
_result = input
else:
ingress: networkingv1.Ingress = input as networkingv1.Ingress
print(ingress)
ingress.metadata.annotations = {"cert-manager.io/issuer" = "letsencrypt"}
ingress.spec.tls = [{
hosts = [r.host for r in ingress.spec.rules]

View File

@ -4,5 +4,5 @@ edition = "v0.11.1"
version = "0.0.1"
[dependencies]
k8s = "1.31.2"
cert-manager = "0.3.0"
k8s = "1.31.2"