wso2 / wso2/open-cloud-datacenter

Add TLS termination to DC-API ingress via cert-manager

Open
#92 0 comments 0 reactions 1 assignee View on GitHub

@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-rke2 cluster (Issuer/ClusterIssuer)
  • Add a tls block to kubernetes_ingress_v1.dc_api referencing a cert-manager-issued or pre-created TLS secret for var.dcapi_hostname
  • Update outputs.tf to expose the DC-API URL as https:// once TLS is in place
  • Ensure the TLS secret name aligns with the cert-manager Certificate resource or pre-provisioned secret

References

/cc @HiranAdikari

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.