Skip to content

Instantly share code, notes, and snippets.

@timthesinner
Last active January 13, 2019 19:31
Show Gist options
  • Save timthesinner/7a34b5609912d3776670ef2c2f2f6fe9 to your computer and use it in GitHub Desktop.
Save timthesinner/7a34b5609912d3776670ef2c2f2f6fe9 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: external-kibana
namespace: logging
annotations:
certmanager.k8s.io/acme-challenge-type: dns01
certmanager.k8s.io/acme-dns01-provider: route53
certmanager.k8s.io/cluster-issuer: lets-encrypt-issuer-prod
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/backend-protocol: HTTPS
spec:
rules:
- host: kibana.<ROOT_DOMAIN>
http:
paths:
- backend:
serviceName: external-kibana
servicePort: https
path: /
tls:
- hosts:
- kibana.<ROOT_DOMAIN>
secretName: external-kibana-cert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment