Skip to content

Instantly share code, notes, and snippets.

@JaniKibichi
Created June 30, 2021 09:40
Show Gist options
  • Select an option

  • Save JaniKibichi/3d06e9e3b138e3c60baff7450f8c0f10 to your computer and use it in GitHub Desktop.

Select an option

Save JaniKibichi/3d06e9e3b138e3c60baff7450f8c0f10 to your computer and use it in GitHub Desktop.

Revisions

  1. JaniKibichi created this gist Jun 30, 2021.
    20 changes: 20 additions & 0 deletions ingressupdate.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    apiVersion: networking.k8s.io/v1beta1
    kind: Ingress
    metadata:
    name: ussd-ingress
    annotations:
    kubernetes.io/ingress.class: nginx
    cert-manager.io/cluster-issuer: letsencrypt-prod
    spec:
    tls:
    - hosts:
    - utility.ussd.janikibichi.com
    secretName: hello-kubernetes-tls
    rules:
    - host: "utility.ussd.janikibichi.com"
    http:
    paths:
    - path: "/"
    backend:
    serviceName: ussd-service
    servicePort: 80