Skip to content

Instantly share code, notes, and snippets.

@JaniKibichi
Created June 30, 2021 09:40
Show Gist options
  • Save JaniKibichi/3d06e9e3b138e3c60baff7450f8c0f10 to your computer and use it in GitHub Desktop.
Save JaniKibichi/3d06e9e3b138e3c60baff7450f8c0f10 to your computer and use it in GitHub Desktop.
Ingress update for ussd
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment