wilsonianb / c8s

Codius-less: web-monetized serverless Kubernetes add-on
Apache License 2.0
3 stars 0 forks source link

Redirect http to https #27

Open wilsonianb opened 5 years ago

wilsonianb commented 5 years ago

Istio gateway can be configured for httpsRedirect https://knative.dev/docs/serving/using-cert-manager-on-gcp/#configuring-the-knative-ingress-gateway

How can this be done with Gloo?

A second virtualservice (without sslConfig) can be used to redirect but it seems to need a hostRedirect and I don't know what to put for a wildcard domain match https://gloo.solo.io/api/github.com/solo-io/gloo/projects/gloo/api/v1/proxy.proto.sk/#redirectaction

wilsonianb commented 5 years ago

Or is this just a reason to use traefik ingress instead of gloo?

wilsonianb commented 5 years ago

TODO: make sure knative auto scales when using traefik ingress