Created
May 8, 2017 15:36
-
-
Save iflowfor8hours/f751c0d72d24f7c852c21d93c8aa5e6e to your computer and use it in GitHub Desktop.
Revisions
-
iflowfor8hours renamed this gist
May 8, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
iflowfor8hours created this gist
May 8, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ --- apiVersion: extensions/v1beta1 kind: Ingress metadata: name: testlanding namespace: landingpages annotations: kubernetes.io/ingress.class: traefik traefik.frontend.passHostHeader: "false" spec: rules: - host: wwwstorefrontnext.dev.com # This is URI where the request lands on http, should redir to https. http: paths: - path: / backend: serviceName: staticbackend servicePort: 80 --- apiVersion: v1 kind: Service metadata: name: staticbackend namespace: landingpages spec: ports: - name: http port: 80 type: ExternalName externalName: www.landingtest.com # This expects the host header to match something internal, I need to set it before landing here