diff --git a/admin/README.md b/admin/README.md index 9d6a451d138561a85ab2469bdc4775b151a4151b..8607060d2ba1eab233f644a5449f6163c2981966 100644 --- a/admin/README.md +++ b/admin/README.md @@ -206,4 +206,13 @@ Then we need to make sure our Service definition includes something like: ``` Once this is deployed the certificate should now be used when requesting -the HTTPS version of your service. +the HTTPS version of your service. You may also want to add the following +to force users to be redirected to HTTPS from HTTP requests. This is what +it looks like in the `values.yaml` file, but shows up in the `metadata` +section of the `Ingress` definition. + +```yaml +ingress: + annotations: + ingress.kubernetes.io/force-ssl-redirect: "true" +``` diff --git a/ci_geosphere-test/values-mapcache.yaml b/ci_geosphere-test/values-mapcache.yaml index 9276c0bb38937eeedb8cb7590af8f4b7f0fa9496..35d1d4e8c444577e425c24b15f42b9d3b4a334bb 100644 --- a/ci_geosphere-test/values-mapcache.yaml +++ b/ci_geosphere-test/values-mapcache.yaml @@ -14,6 +14,8 @@ seed: overlays: true ingress: enabled: true + annotations: + ingress.kubernetes.io/force-ssl-redirect: "true" hosts: - host: geosphere-test.ssec.wisc.edu paths: ["/mapcache"] diff --git a/ci_geosphere-test/values-mapserver.yaml b/ci_geosphere-test/values-mapserver.yaml index 4b233c8567fa01b8cfee9a4a841c4fb7b879d0b4..7d0fafab95245e2e6d4a8d0b11a13d3597188302 100644 --- a/ci_geosphere-test/values-mapserver.yaml +++ b/ci_geosphere-test/values-mapserver.yaml @@ -12,6 +12,8 @@ source: existingClaim: "cspp-geo-geo2grid" ingress: enabled: true + annotations: + ingress.kubernetes.io/force-ssl-redirect: "true" hosts: - host: geosphere-test.ssec.wisc.edu paths: ["/wms", "/wms_times"]