Skip to content

Instantly share code, notes, and snippets.

@jmrobles
Created October 3, 2021 21:39
Show Gist options
  • Save jmrobles/7a8973b3c7ef3552220986a3c118743d to your computer and use it in GitHub Desktop.
Save jmrobles/7a8973b3c7ef3552220986a3c118743d to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: openfaas-ingress
namespace: openfaas
labels:
name: openfaas-ingress
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- faas.example.com
secretName: faas-secret-tls
rules:
- host: faas.example.com
http:
paths:
- path: "/"
backend:
serviceName: gateway-external
servicePort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment