Skip to content

Instantly share code, notes, and snippets.

@jmrobles
Created December 8, 2020 18:05
Show Gist options
  • Save jmrobles/9320e4bae12ab1c23ec5167fc4aa60d2 to your computer and use it in GitHub Desktop.
Save jmrobles/9320e4bae12ab1c23ec5167fc4aa60d2 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: micro-api-ingress
namespace: micro
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/issuer: "micro-prod"
spec:
rules:
- host: yourhost.com
http:
paths:
- backend:
serviceName: api
servicePort: 443
path: /
tls:
- hosts:
- yourhost
secretName: micro-cert-tls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment