From 47827ce09f0f8fa894e9195c891e659bd3243500 Mon Sep 17 00:00:00 2001 From: Simon KP <“simon@techops.services”> Date: Thu, 29 Feb 2024 15:12:47 +1100 Subject: [PATCH] common: Match https --- charts/common/Chart.yaml | 2 +- charts/common/templates/middleware-httpWwwRedirect.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index cc64b83..838c348 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.0.29 +version: 0.0.30 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/common/templates/middleware-httpWwwRedirect.yaml b/charts/common/templates/middleware-httpWwwRedirect.yaml index c228aa5..bf5746b 100644 --- a/charts/common/templates/middleware-httpWwwRedirect.yaml +++ b/charts/common/templates/middleware-httpWwwRedirect.yaml @@ -8,6 +8,6 @@ metadata: spec: redirectRegex: permanent: true - regex: "^(http)://(www\\.)?(.*)" + regex: "^(https?)://(www\\.)?(.*)" replacement: "https://$3" {{- end }}