forked from cerc-io/stack-orchestrator
Use caddy ingress class instead of nginx in cluster_info.py
The ingress annotation was still set to nginx class even though we're now using Caddy as the ingress controller. Caddy won't pick up ingresses annotated with the nginx class. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
638435873c
commit
8d9682eb47
@ -201,7 +201,7 @@ class ClusterInfo:
|
|||||||
spec = client.V1IngressSpec(tls=tls, rules=rules)
|
spec = client.V1IngressSpec(tls=tls, rules=rules)
|
||||||
|
|
||||||
ingress_annotations = {
|
ingress_annotations = {
|
||||||
"kubernetes.io/ingress.class": "nginx",
|
"kubernetes.io/ingress.class": "caddy",
|
||||||
}
|
}
|
||||||
if not certificate:
|
if not certificate:
|
||||||
ingress_annotations["cert-manager.io/cluster-issuer"] = cluster_issuer
|
ingress_annotations["cert-manager.io/cluster-issuer"] = cluster_issuer
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user