Skip to content

Instantly share code, notes, and snippets.

@michalpenka
Created March 19, 2020 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michalpenka/d4ef83338a126066d08e91d9e500937e to your computer and use it in GitHub Desktop.
Save michalpenka/d4ef83338a126066d08e91d9e500937e to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ing-helloworld
namespace: helloworld
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- www.helloworld.com
secretName: letsencrypt-prod
rules:
- host: www.helloworld.com
http:
paths:
- backend:
serviceName: svc-helloworld
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment