Skip to content

Instantly share code, notes, and snippets.

@jmrobles
Created May 17, 2020 19:36
Show Gist options
  • Save jmrobles/d6d12578987570fe90b86667655f69ce to your computer and use it in GitHub Desktop.
Save jmrobles/d6d12578987570fe90b86667655f69ce to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kuard
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/issuer: "letsencrypt-staging"
spec:
tls:
- hosts:
- yourdomain.com
secretName: quickstart-example-tls
rules:
- host: yourdomain.com
http:
paths:
- path: /
backend:
serviceName: kuard
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment