wso2 / wso2/open-cloud-datacenter
Add TLS termination to DC-API ingress via cert-manager
Open
@HiranAdikari is already working on this.
Since May 5, 2026.
- Dominant language
- HCL
- Stars
- 19
- Forks
- 15
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 4
Description
Summary
The DC-API ingress resource (kubernetes_ingress_v1.dc_api) in modules/management/dc-controlplane-services/main.tf currently exposes dcapi_hostname over plain HTTP with no TLS termination. TLS termination was intentionally deferred as this endpoint is internal-only (management network), but should be added before any broader exposure.
Work Required
- Wire cert-manager into the
dcapi-controlplane-rke2cluster (Issuer/ClusterIssuer) - Add a
tlsblock tokubernetes_ingress_v1.dc_apireferencing a cert-manager-issued or pre-created TLS secret forvar.dcapi_hostname - Update
outputs.tfto expose the DC-API URL ashttps://once TLS is in place - Ensure the TLS secret name aligns with the cert-manager Certificate resource or pre-provisioned secret
References
- PR: https://github.com/wso2/open-cloud-datacenter/pull/91
- Review comment: https://github.com/wso2/open-cloud-datacenter/pull/91#discussion_r3189812963
/cc @HiranAdikari
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.