Skip to content

Instantly share code, notes, and snippets.

@cpretzer
Last active February 19, 2020 01:19
Show Gist options
  • Save cpretzer/2212973b00e1a153501f0ae66d4790a3 to your computer and use it in GitHub Desktop.
Save cpretzer/2212973b00e1a153501f0ae66d4790a3 to your computer and use it in GitHub Desktop.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: web-ingress
namespace: linkerd
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/upstream-vhost: $service_name.$namespace.svc.cluster.local:8084
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header Origin "";
proxy_hide_header l5d-remote-ip;
proxy_hide_header l5d-server-id;
spec:
rules:
- http:
paths:
- path: /dashboard
backend:
serviceName: linkerd-web
servicePort: 8084
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment