Last active
May 3, 2018 21:32
-
-
Save carlosedp/6253441bc0e0a8f3db7c15268dc6311e to your computer and use it in GitHub Desktop.
External ingress manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: kubernetes-dashboard-external | |
namespace: kube-system | |
labels: | |
traffic-type: external | |
annotations: | |
traefik.frontend.rule.type: PathPrefix | |
#traefik.frontend.redirect.regex: ^http://(.*) | |
#traefik.frontend.redirect.replacement: https://$1 | |
ingress.kubernetes.io/auth-type: basic | |
ingress.kubernetes.io/auth-secret: dashboard-auth | |
spec: | |
rules: | |
- host: dashboard.cloud.domain.com | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: kubernetes-dashboard | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment