[BUG] Cert-manager and letsencrypt does not work with Istio addon
Describe the bug When creating ClusterIssuer, the http01 solver is not working with istio ingress class. Kindly check cluster issuer manifest here for reference: aks-istio-addon-setup/cluster-issuer.yaml at main · pratiksharma-dev/aks-istio-addon-setup (github.com). When I checked in my cluster there was no CRD present for istio ingress class. Even when I installed the CRD, I couldn't get letsencrypt http01 solver to work with istio. This works fine with OSS istio. At the end I used Gateway API and httproute to band aid this situation and make http01 solver work as shown here: aks-istio-addon-setup/gateway-api.yaml at main · pratiksharma-dev/aks-istio-addon-setup (github.com). But with this, I cannot use the istio ingress features and must stick to Gateway API.
To Reproduce Install cert-manager as described here: https://github.com/pratiksharma-dev/aks-istio-addon-setup/blob/main/README.md#setup-cert-manager Create ClusterIssuer and Certificate as shown here: https://github.com/pratiksharma-dev/aks-istio-addon-setup/blob/main/cluster-issuer.yaml https://github.com/pratiksharma-dev/aks-istio-addon-setup/blob/main/create-certificate.yaml
Expected behavior The http01 solver should be able to verify the challenge and the certificate should be in ready state
Screenshots
Environment (please complete the following information):
- CLI Version 2.55
- Kubernetes version 1.26.10
- CLI Extension version aks-preview: 0.5.173, k8s-extension: 1.5.2, k8s-configuration: 1.7.0
Additional context Add any other context about the problem here.
Any update on this? I am having similar issues.
Any news on this topic?
we are looking into this, will update soon.
It may help some people on this thread but in the end I removed the AKS managed Istio add on and installed it myself via helm and it works.
we've identified the issue, the auto generated k8s ingress is not materialized as expected by cert-manager. We are working on the solution.
@pratiksharma-dev - Kubernetes Ingress API isn't supported as part of Istio addon. In fact, in OSS Istio there's a push to add all new ingress capabilities under Kubernetes Gateway API support under Istio. Because there's a possibility that K8s Ingress support under Istio may be deprecated in future, it'd be hard to add support for that under addon and then cause breaking change for any user who takes a dependency on the same. We are currently working on Istio Gateway API support (there are multiple things to address - health probe fixes, support for canary upgrade,...) and tentatively this should be out in CY2024Q4 or may slip to CY2025Q1.
@pratiksharma-dev - we've made changes to allow for kubernetes ingress as part of Istio addon. Here is an example walkthrough for the cert-manager let's encrypt integration.
@pratiksharma-dev - we've made changes to allow for kubernetes ingress as part of Istio addon. Here is an example walkthrough for the cert-manager let's encrypt integration.
What revision does this apply to?
this applies to all revisions asm-1-21 and above.