Skip to main content
Follow these steps in order to expose SuprSend services.

Set up Nginx Ingress Controller

New Namespace

First create a new namespace to install the Nginx Ingress Controller.

Install the official Helm chart

Add the repo.
Then install the chart.
Verify it’s deployed and running:
You should see a LoadBalancer type service named ingress-nginx-controller.

Get the Ingress Controller’s hostname

This will be your ingress endpoint.
Keep this hostname handy - you’ll need it for DNS or certificate validation.

Set up DNS (Important)

For each of those hostnames required by SuprSend, setup an A or CNAME record (based on the load balancer type) in your DNS zone. Each of those records should point at the load balancer host name mentioned above.
This is a pre-requisite step before configuring Cert Manager. Cert Manager will not setup/renew SSL certificates unless the DNS records point at the load balancer address.

Set up Cert Manager

New Namespace

Install the chart

Check if all pods are up:

Create the Let’s Encrypt ClusterIssuer

Create a file named cluster-issuer.yaml:
Apply it:
Verify if it is created:

Configuring Ingress for each service

Then for service that needs ingress in SuprSend chart, pass the following values under ingress in Values.yaml of SuprSend chart:
  • annotations are required for Cert Manager to automatically generate a new SSL cert for the host name provided.
  • ingressClassName is “nginx” since we used Nginx as our Ingress controller.
  • host must be the domain used to expose the service.
  • tlsSecretKey is the name of Kubernetes secret where SSL cert’s SSL cert and Private key will be stored by Cert Manager. This should be unique for each ingress service.
Upgrade/Install the SuprSend chart now with updated values.yaml. Chart will configure Ingress for each service with above values. And for each of the services & ingress and host names, Cert Manager will begin to create certificates, fulfil HTTP challenges and make the certificates ready for use in Service ingresses automatically. Cert Manager will also renew the certificates automatically when expiry date arrives, provided the DNS records created earlier in your DNS zone are still present. After installing/upgrading the chart, use the following command to verify if SSL certificates are provisioned & ready.
Check Ingresses using this command: